I am trying to \'emulate\' a reboot (or anything else with the adb shell am
) and am unable to figure out how to reference my component. Then again, maybe I don
Try
adb shell am broadcast \
-a android.intent.action.BOOT_COMPLETED \
-n net.fstab.checkit_android/.StartupReceiver
(note the -n net.fstab.checkit_android/.StartupReceiver) to aim at a specific receiver.
Also make sure your app uses permission to receive specific broadcast intents - in this case it would be