Lines Matching refs:Notification
19 import android.app.Notification;
63 // Display a notification about us starting. We put an icon in the status bar.
77 // Cancel the persistent notification.
94 * Show a notification while this service is running.
97 // In this sample, we'll use the same text for the ticker and the expanded notification
101 Notification notification = new Notification(R.drawable.stat_sample, text,
104 // The PendingIntent to launch our activity if the user selects this notification
108 // Set the info for the views that show in the notification panel.
109 notification.setLatestEventInfo(this, getText(R.string.local_service_label),
112 // Send the notification.
114 mNM.notify(R.string.local_service_started, notification);