17. Working with Services

A service within the Android Software Development Kit (SDK) can mean one of two things. First, it can mean a background process, performing some useful operations at regular intervals. Second, a service can be an interface for a remote object, called from within your application. In both cases, the service object extends the Service class from the Android SDK, and it can be a stand-alone or part of an application with a complete user interface.

In this chapter, you learn how to create and interact with an Android service. You also learn how to define a remote interface using the Android Interface Definition Language (AIDL). Finally, you learn how to pass objects through this interface by creating a class that ...

Get Android Wireless Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.