Status Bar Notification

A status bar notification adds an icon to the system's status bar (with an optional ticker-text message) and an expanded message in the "Notifications" window. When the user selects the expanded message, Android fires an Intent that is defined by the notification (usually to launch an Activity). You can also configure the notification to alert the user with a sound, a vibration, and flashing lights on the device.

8:00"

rmye+i

D

8i3fV™_

Tins alarm Is set for 17 hours and 57 minutes from now.

25 April 2009

"nlffita 3:41 PM

Android

Clear notifications

Where you at? 3:39 PM

Where you at? 3:39 PM

This kind of notification is ideal when your application is working in a background Service and needs to notify the user about an event. If you need to alert the user about an event that occurs while your Activity is still in focus, consider using a Dialog Notification instead.

For more information, refer to Creating Status Bar Notifications.

0 0

Post a comment