O'Reilly logo

Android in Action, Second Edition by Chris King, Robi Sen, W. Frank Ableson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8. Notifications and alarms

This chapter covers

  • Building an SMS Notification application
  • Working with Toasts
  • Working with the NotificationManager
  • Using Alarms and the AlarmManager
  • Setting an Alarm

Today’s cell phones are expected to be not only phones but personal assistants, cameras, music and video players, and instant-messaging clients, as well as do 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 an SMS, a new voicemail, or an Alarm reminding them of a new appointment.

In this chapter, we’re going to look at how to use the Android BroadcastReceiver and the AlarmManager ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required