30Broadcast Intents

Things are happening all the time on an Android device. WiFi is going in and out of range, packages are getting installed, phone calls and text messages are coming in.

When many components on the system need to know that some event has occurred, Android uses a broadcast intent to tell everyone about it. Broadcast intents work similarly to the intents you already know and love, except that they can be received by multiple components at the same time. Broadcast intents are received by broadcast receivers.

Figure 30.1  Regular intents vs. broadcast intents

Regular intents vs. broadcast intents

In this chapter, you will learn how to listen to broadcast intents from ...

Get Android Programming: The Big Nerd Ranch Guide now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.