O'Reilly logo

Android™ Wireless Application Development Volume II: Advanced Topics, Third Edition by Shane Conder, Lauren Darcey

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

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 ...

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