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: A Developer’s Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.