App Management
Android 1.0+
Risk: SAFE
Send System Broadcast Intent
Sends a broadcast Intent to all registered BroadcastReceivers on the system.
Command Syntax
adb shell am broadcast
Generic Syntax:
am broadcast [-a <ACTION>] [-d <DATA_URI>] [-t <MIME_TYPE>] [-c <CATEGORY>] [-e <KEY> <VALUE>] [-n <COMPONENT>] [--user <USER_ID>|all|current]
Options & Parameters
| Flag | Description |
|---|---|
| -a <ACTION> | Broadcast intent action. |
| -e <KEY> <VAL> | String extra payload. |
| --ez <KEY> <VAL> | Boolean extra payload. |
| --user <ID> | Target user profile (or "all"). |
Real-World Usage Examples
Broadcast simulated boot completed
Triggers boot receiver callbacks in installed applications.
adb shell am broadcast -a android.intent.action.BOOT_COMPLETED
Output:
Broadcasting: Intent { act=android.intent.action.BOOT_COMPLETED }
Broadcast completed: result=0
Broadcast custom intent with string extra
Sends custom broadcast with data payload.
adb shell am broadcast -a com.example.app.TRIGGER_SYNC -e "sync_type" "full"
Output:
Broadcasting: Intent { act=com.example.app.TRIGGER_SYNC (has extras) }
Broadcast completed: result=0