Chapter 8. Notifications and alarms

Today’s cell phones are expected to be not only phones but personal assistants, cameras, music and video players, instant-messaging clients, as well as just about everything else a computer might do. With all these applications running on phones, applications need a way to notify users to get their attention or to take some sort of action whether in response to a SMS, to a new voicemail, or to an Alarm reminding them of a new appointment.

In this chapter we are going to look at how to use the Android BroadcastReceiver and the AlarmManager to notify users of just these sorts of events. You will learn what ...

Get Unlocking Android 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.