Android Generating a "Boot Complete" broadcast


Example

This is relevant for apps that implement a BootListener. Test your app by killing your app and then test with:

adb shell am broadcast -a android.intent.action.BOOT_COMPLETED -c android.intent.category.HOME -n your.app/your.app.BootListener

(replace your.package/your.app.BootListener with proper values).