Chapter    22

Leveraging Android Services

Android’s underpinnings of the Linux operating system extend to multiple areas of the platform, many of which you have explored already. As with almost every operating system in existence, Android provides for a specific class of program that runs independently of any user interface, running in the background to provide crucial functionality regardless of other activity. In Android these programs are called services, similar to the services concept in Windows, or the daemon concept in Unix and Linux.

In this chapter, I explore the rationale and fundamentals of Android services, and the steps you need to take to create, start, work with, and control them. We also explore some simple service examples to ...

Get Beginning Android, Fifth Edition now with O’Reilly online learning.

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