[android-developers] Digest for android-developers@googlegroups.com - 1 update in 1 topic

azhar uddin <mrdinfonet1@gmail.com>: Dec 22 09:40PM -0800

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 digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to android-developers+unsubscribe@googlegroups.com.

No comments:

Post a Comment