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:
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 ...
Get Android™ Concurrency now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.