O'Reilly logo

Android™ Concurrency by G. Blake Meike

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

6. Services, Processes, and Binder IPC

Glendower: I can summon spirits from the vasty deep.

Hotspur: Why, so can I, or so can any man. But will they come when you do call for them?

Shakespeare, Henry IV

The Android Service component is a key resource for managing concurrent processes. Understanding it in some detail is essential to creating well-architected Android applications.

There are three reasons for using a Service in an application:

Image Architectural: It makes sense, architecturally, to separate business logic from the UI that presents it. In general, anything that gets code out of Activity objects is a great idea.

Process priority: Delegating ...

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