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
In this chapter, you will learn how to listen to broadcast intents from ...