Question: What Is Broadcast Receivers in Android with Example?
Contents Intent Description of Event Android. Intent. Action. Boot_Completed This Is Broadcast Once After the System Has Finished Booting Android. Intent...
Contents
| Intent | Description Of Event |
|---|---|
| android.intent.action.BOOT_COMPLETED | This is broadcast once after the system has finished booting |
| android.intent.action.CALL | To perform a call to someone specified by the data |
| android.intent.action.DATE_CHANGED | Indicates that the date has changed |
What is a broadcast receiver in android?
Broadcast receiver is an Android component which allows you to send or receive Android system or application events. … For example, applications can register for various system events like boot complete or battery low, and Android system sends broadcast when specific event occur.
Must Read
Which of the following is a broadcast receiver available in Android?
Broadcast-Receiver
| Sr.No | Event Constant & Description |
|---|---|
| 4 | android.intent.action.BOOT_COMPLETED This is broadcast once, after the system has finished booting. |
| 5 | android.intent.action.BUG_REPORT Show activity for reporting a bug. |
| 6 | android.intent.action.CALL Perform a call to someone specified by the data. |