Broadcast Receivers
Learn about broadcast receivers and how they can be used to announce or receive events.
We'll cover the following
Introduction
Broadcast receivers in Android are a pub-sub-based messaging system that can be used by applications to broadcast and receive important announcements. Any application can broadcast a message, and the Android framework will take care of sending the message to all registered subscribers. In addition to applications, several broadcast messages are published by the Android operating system. These broadcasts can be related to boot-up, battery level, or connectivity status, among other things.
Let’s get right to it and learn how to send and receive broadcast messages.
Get hands-on with 1400+ tech skills courses.