from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice device = MonkeyRunner.waitForConnection() for i in range(1, 1000000): MonkeyRunner.sleep(0.1) device.touch(692, 1129, 'DOWN_AND_UP')