2. Working with Services

One important Android application component that can greatly enhance an application is a service. An Android service might be used to perform functions in the background that do not require user input or to supply information to other applications. In this chapter, learn how to create and interact with an Android service. Then learn how to define a remote interface using the Android Interface Definition Language (AIDL). Finally, learn how to pass objects through this interface by creating a class that implements a Parcelable object.

Determining When to Use Services

A service in the Android Software Development Kit (SDK) can mean one of two things. First, a service can mean a background process, performing some useful ...

Get Android™ Wireless Application Development Volume II: Advanced Topics, Third Edition 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.