Abstract
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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2012 Satya Komatineni and Dave MacLean
About this chapter
Cite this chapter
Komatineni, S., MacLean, D. (2012). Exploring the Alarm Manager. In: Pro Android 4. Apress. https://doi.org/10.1007/978-1-4302-3931-4_20
Download citation
DOI: https://doi.org/10.1007/978-1-4302-3931-4_20
Publisher Name: Apress
Print ISBN: 978-1-4302-3930-7
Online ISBN: 978-1-4302-3931-4
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)