O'Reilly logo

Android in Action, Second Edition by Chris King, Robi Sen, W. Frank Ableson

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 4. Intents and Services

This chapter covers

  • Asking other programs to do work for you with intents
  • Advertising your capabilities with intent filters
  • Eavesdropping on other apps with broadcast receivers
  • Building Services to provide long-lived background processing
  • Offering APIs to external applications through AIDL

You’ve already created some interesting applications that didn’t require a lot of effort to build. In this chapter, we’ll dig deeper into the use of Intent objects and related classes to accomplish tasks. We’ll expand the RestaurantFinder application from chapter 3, and show you how an Intent can carry you from one Activity to another and easily link into outside applications. Next, you’ll create a new weather-reporting application ...

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