# take screenshot
adb exec-out screencap -p > screen.png
# start intent with url, e.g. to test deep linking urls
adb shell 'am start -a android.intent.action.VIEW -d "https://my.url.io/my_file"'
# enter text
adb shell 'input text "asdf"'
# press "enter" key
adb shell input keyevent 66
# simulate system killing process
adb shell am kill "my.application.id"
Last active
September 11, 2019 12:14
-
-
Save Tetr4/eb9a0ba09f30b890e2aed38f6d5d00b9 to your computer and use it in GitHub Desktop.
ADB commands
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment