What Services Are For
Okay, we admit it: looking at those LogCat statements was boring. But this code is really exciting! Why? What can you do with it?
Time to go back the land of make believe, where we are no longer programmers, where we work in retail shoe sales with superheroes who do our bidding.
Your workers can work in two kinds of places in a store: the front of the store, where workers talk to customers, and the back of the store, where they do not. The back of the store may be larger or smaller, depending on the store.
So far, all of your code has run in activities. Activities are your Android app’s storefront. All this code is focused on a pleasant visual experience for your user, your customer.
Services are the back end of your ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access