Created
June 25, 2013 14:17
-
-
Save thinkfeed/5858796 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adb发送BOOT_COMPLETED | |
我们可以通过 | |
1 | |
adb shell am broadcast -a android.intent.action.BOOT_COMPLETED | |
命令发送BOOT_COMPLETED广播,而不用重启测试机或模拟器来测试BOOT_COMPLETED广播,这条命令可以更精确的发送到某个package,如下: | |
1 | |
adb shell am broadcast -a android.intent.action.BOOT_COMPLETED -c android.intent.category.HOME -n package_name/class_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment