Last active
April 7, 2016 11:11
-
-
Save mbelsky/178f7418072fbe4ee9c8 to your computer and use it in GitHub Desktop.
Useful 'adb shell' commands
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 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