O'Reilly logo

Android in Practice by Michael Galpin, Charlie Collins, Matthias Kaeppler

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

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

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