A class that represents how a persistent notification is to be presented to the user using the NotificationManager.
1. In the MainActivity.java file, add the below line to the imports section.
import android.app.Notification;
2. Add the below line to the onCreate method. This will create a Notification named myNotification.
Notification myNotification;
3. Compile and run!
Resources:
http://developer.android.com/reference/android/app/Notification.html
Resources:
http://developer.android.com/reference/android/app/Notification.html