Chapter 5. Managing background tasks with Services

 

In this chapter

  • Multitasking with Services
  • Creating background tasks
  • Reviving tasks that have been killed

I am the greatest. I said that even before I knew I was. Don’t tell me I can’t do something. Don’t tell me it’s impossible. Don’t tell me I’m not the greatest. I’m the double greatest.

Muhammad Ali

Services are a killer feature of Android. That’s a bold statement, but it’s accurate. It might be more accurate to say that multitasking is a killer feature of Android, and the way to fully implement multitasking on Android is by using Services. Don’t take our word on this: watch TV instead. One of the most successful commercials for the popular Motorola Droid touted its ability to multitask and ridiculed “other” phones that couldn’t “walk and chew gum at the same time.”

5.1. It’s all about the multitasking

5.2. Why services and how to use them

5.3. Scheduling and Services

5.4. Summary

sitemap