Skip to content

Most visited

Recently visited

navigation

Notifying the User

Dependencies and prerequisites

  • Android 1.6 (API Level 4) or higher

You should also read

Try it out

Download the sample

NotifyUser.zip

A notification is a user interface element that you display outside your app's normal UI to indicate that an event has occurred. Users can choose to view the notification while using other apps and respond to it when it's convenient for them.

The Notifications design guide shows you how to design effective notifications and when to use them. This class shows you how to implement the most common notification designs.

Lessons

Building a Notification
Learn how to create a notification Builder, set the required features, and issue the notification.
Preserving Navigation when Starting an Activity
Learn how to enforce the proper navigation for an Activity started from a notification.
Updating Notifications
Learn how to update and remove notifications.
Using Big View Styles
Learn how to create a big view within an expanded notification, while still maintaining backward compatibility.
Displaying Progress in a Notification
Learn how to display the progress of an operation in a notification, both for operations where you can estimate how much has been completed (determinate progress) and operations where you don't know how much has been completed (indefinite progress).
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.