Skip to content

Instantly share code, notes, and snippets.

@cbarraco
Created January 22, 2014 02:01
Show Gist options
  • Save cbarraco/8552271 to your computer and use it in GitHub Desktop.
Save cbarraco/8552271 to your computer and use it in GitHub Desktop.
If you only know the package name of the app you want to launch but not the name of it's main activity, use this command. Just replace com.android.chrome with the package name of the app you want to open. The monkey command is used for making random touch and keyboard inputs on the connected device. This command only specifies that one event can…
adb shell monkey -p com.android.chrome -c android.intent.category.LAUNCHER 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment