April 2011
Intermediate to advanced
1201 pages
31h 52m
English
In Android, you can use the alarm manager to trigger events. These events can be at a specific time or at regular intervals. We will start the chapter with the basics of the alarm manager where we set a simple alarm. We will then cover setting an alarm that repeats, cancelling an alarm, the role of pending intents (specifically the role their uniqueness plays), and setting multiple alarms. By the end of the chapter, you will have learned both the basics and the practical nitty-gritty of the Android alarm manager.
We will start the chapter setting an alarm at a particular time and have it call a broadcast receiver. Once the broadcast receiver is invoked, we can ...
Read now
Unlock full access