Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
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.