Tap and hold

Post your questions and help other users.

Moderator: Martin

Post Reply
TomeG2kc
Posts: 13
Joined: 22 Mar 2014 13:40

Tap and hold

Post by TomeG2kc » 03 Feb 2015 18:59

I know is there root command tap z y. But is there command that emulate tap and hold for little period of time? It's possible to do this?

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Tap and hold

Post by Martin » 03 Feb 2015 19:47

Maybe a slow swipe could work. Not sure if this is also available on older versions of Android:
input swipe <x1> <y1> <x2> <y2> [duration(ms)], for example input swipe 100 1200 100 1200 2000 to press down 2 seconds on the same location.

Regards,
Martin

TomeG2kc
Posts: 13
Joined: 22 Mar 2014 13:40

Re: Tap and hold

Post by TomeG2kc » 03 Feb 2015 20:27

Thanx Martin, it's working.

Post Reply