Skip to content

Instantly share code, notes, and snippets.

@kibotu
Last active March 20, 2019 15:37
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 kibotu/65d933643a1368d61877b95540a9b71d to your computer and use it in GitHub Desktop.
Save kibotu/65d933643a1368d61877b95540a9b71d to your computer and use it in GitHub Desktop.
adb shell register
#!/usr/bin/env bash
# https://developer.android.com/reference/android/view/KeyEvent#constants
adb shell input text "lorem10@ipsum.net"
adb shell input keyevent 66 # 66 = KEYCODE_ENTER
adb shell input text "lorem10@ipsum.net"
adb shell input keyevent 66
adb shell input text "123456789"
adb shell input text "pwd"
@kibotu
Copy link
Author

kibotu commented Mar 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment