O'Reilly logo

Advanced Android™ Application Development, Fourth Edition by Shane Conder, Lauren Darcey, Joseph Annuzzi Jr.

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

2. Working with Services

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.

Determining When to Use Services

A Service in the Android SDK can mean one of two things. First, a Service can mean a background process that performs some useful ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required