Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mbelsky
Last active April 7, 2016 11:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbelsky/178f7418072fbe4ee9c8 to your computer and use it in GitHub Desktop.
Save mbelsky/178f7418072fbe4ee9c8 to your computer and use it in GitHub Desktop.
Useful 'adb shell' commands
adb shell dumpsys activity | grep -I 'PACKAGE_NAME'
adb shell am start -n PACKAGE_NAME/.PATH_TO_ACTIVITY.ACTIVITY_NAME
# Grant or revoke one or more permissions:
adb shell pm [grant|revoke] <PACKAGE> <PERMISSION>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment