Skip to content

Instantly share code, notes, and snippets.

@ashishb
Last active December 30, 2015 13:58
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 ashishb/7838656 to your computer and use it in GitHub Desktop.
Save ashishb/7838656 to your computer and use it in GitHub Desktop.
A small monkeyrunner script to automate "Tinder" likes
# Run this script using Monkeyrunner.
import commands
import time
from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice
def click(device, x, y):
device.touch(x, y, MonkeyDevice.DOWN_AND_UP)
def main():
device = MonkeyRunner.waitForConnection()
while True:
click(device, 800, 1600)
time.sleep(1)
if __name__ == '__main__':
main()
@rudrasoftech
Copy link

hi Ashish, we are working one project which have same photo slider like Tinder. It is back office app we are looking for only photo slider/photo frame ... please let me know if you can help us.
Thanks & regards

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