Find the "platform-tools" directory of your Android SDK. For example:
D:\android-sdk-windows\platform-tools>
Enter the command adb devices to get the list of your devices
D:\android-sdk-windows\platform-tools>adb devices
List of devices attached
emulator-5554 device
TA930089K2 device
Connect a shell to your device:
D:\android-sdk-windows\platform-tools>adb -s emulator-5554 shell
root@generic_x86:/ #
Type the command, in the shell type:
am broadcast -a android.intent.action.BOOT_COMPLETED
OR
am broadcast -a android.intent.action.BOOT_COMPLETED -p thepackageofyourapp
Where, thepackageofyourapp, is the your application package from Play Store
0 comments:
Post a Comment