November 2014
Intermediate to advanced
624 pages
16h 56m
English
Services are important Android application components that can greatly enhance an application. 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, you will learn how to create and interact with an Android Service. Then you will learn how to define a remote interface using the Android Interface Definition Language (AIDL). Finally, you will learn how to pass objects through this interface by creating a class that implements a Parcelable object.
A Service in the Android SDK can mean one of two things. First, a Service can mean a background process that performs some useful ...