Broadcast receivers are components that can respond to system-wide even broadcast announcements, hence the name bcroadcast receivers.
They are part of the Intent framework that enables components to respond to the broadcasts. In response to state changes, events implemented as intents are broadcasted throughout the whole system.
The class that is implementing the receiver must extent the Broadcast receiver super class - BroadcastReceiver
The method onReceive() must be overridden to be able to handle any intents sent to the class/receiver object
Other methods and/or nested classes can be defined to help implement the receiver
Register the receiver with the Android Intent framework for the Android Manager Service or a local broadcast manager to be able to deliver intents when they are broadcast to other components in one of two ways
Dynamically via the registerReceiver with an intent filter: registerReceiver(nameOfReceiver, intentFilter)
Statically via the AndroidManfest.xml file:
<receiver android:name=".receivers.ClassReceiver"
<intent-filter>
<action android:name="some action"></action>
</intent-filter>
</receiver>