
What we will do?
-> We will make an app with a button. When the button is pressed we will get a notification.
What we will need?
activity_main.xml
MainActivity.java
Step 1 : Create a new android application. Click on File->New->Android Application Project.
Step 2 : Give the name as NotificationDemo and package name as com.mia.notificationdemo. Click Next continuously.
Click Finish.
Step 2 : Add a button...