Search code examples
androidtouchadbsimulate

Sending touch commands to an Android Device


I'm trying to get my computer (Mac/Linux) to send touch commands to my Nexus 7 tablet via ADB. I've found that I can successfully send touch events via "adb shell input tap x y", but the noticable delay is inhibiting what I can do. I would need to be able to send several per second, but this method sends at about 1 per second. I'm hoping to in the end control the inputs via a python script on the host pc if that's possible.

Thanks!


Solution

  • Have you taken a look at monkeyrunner?

    Or if you are looking for an automation test framework, you could try robotium.