Skip to content

Instantly share code, notes, and snippets.

@ashishb
Last active December 30, 2015 13:58
Show Gist options
  • Select an option

  • Save ashishb/7838656 to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown

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