21. 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 that do not require user input in the background, or to supply information to other applications. 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 implements a Parcelable
object.
Determining When to Use Services
A service within the Android Software Development Kit (SDK) can mean one of two things. First, a service can mean a background process, performing ...
Get Android Wireless Application Development, 2/e 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.