Status Bar Notification
This NOTIFICATION on Android can be done in any of the following ways:

Status Bar Notification
Vibrate
Flash lights
Play a sound
To create a status bar notification, you will need to use two classes: 
Notification and NotificationManager.

Notification – defines the properties of the status bar notification like 
the icon to display, the test to display when the notification first 
appears on the status bar and the time to display.

NotificationManager – is an android system service that executes and 
manages all notifications. Hence you cannot create an instance of the 
NotificationManager but you can retrieve a reference to it by calling the 
getSystemService() method.

Once you procure this handle, you invoke the notify() method on it by 
passing the notification object created.

For more information, click the link below.
http://mindmajix.com/android/status-bar-notification

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/4171cb81-f1b9-4d89-b52c-8612cb612c19%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to