16. Working with Notifications

Applications frequently need to alert the user to actions even when the application isn’t actively running in the foreground. An email application might notify users when new messages arrive. A news reader application might notify users when there are new articles to read. A weather application might notify users of special weather alerts. A stock market application might notify the user when certain stock price targets are met.

This chapter teaches you how to build these notifications into your applications. You can alert the users with text, vibration, colorful lights, and even audio. Users appreciate these notifications because they help drive application workflow, reminding the users when they need ...

Get Android Wireless Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.