Home | History | Annotate | Download | only in app

Lines Matching refs:NOTIFICATION

19 import android.app.Notification;
49 // Unique Identification Number for the Notification.
50 // We use it on Notification start, and to cancel it.
51 private int NOTIFICATION = R.string.local_service_started;
68 // Display a notification about us starting. We put an icon in the status bar.
80 // Cancel the persistent notification.
81 mNM.cancel(NOTIFICATION);
97 * Show a notification while this service is running.
100 // In this sample, we'll use the same text for the ticker and the expanded notification
103 // The PendingIntent to launch our activity if the user selects this notification
107 // Set the info for the views that show in the notification panel.
108 Notification notification = new Notification.Builder(this)
117 // Send the notification.
118 mNM.notify(NOTIFICATION, notification);