Skip to content

Instantly share code, notes, and snippets.

@jrm2k6
Last active August 29, 2015 14:01
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 jrm2k6/1b7596379c76203c9ff3 to your computer and use it in GitHub Desktop.
Save jrm2k6/1b7596379c76203c9ff3 to your computer and use it in GitHub Desktop.
import os
import sys
from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice
import commands
device = MonkeyRunner.waitForConnection()
print "launching myapp..."
device.startActivity(component='com.google.android.gsf.login/com.google.android.gsf.login.AccountIntroUIActivity')
device.touch(426, 1140, MonkeyDevice.DOWN_AND_UP)
MonkeyRunner.sleep(5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment