Skip to content

Instantly share code, notes, and snippets.

@davidllorca
Created August 20, 2015 12:41
Show Gist options
  • Save davidllorca/4aa8530fb4001f5a9407 to your computer and use it in GitHub Desktop.
Save davidllorca/4aa8530fb4001f5a9407 to your computer and use it in GitHub Desktop.
Shell command. It sends out random key events and clicks to the device or emulator.
adb -d shell monkey -p <package name> -v --throttle 500 --pct-touch 50 500
# -v: detail level
# --throttle: time between events
# --pct-touch x x: percent pulse events total events
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment