How to use Touch Gesture function

Post your questions and help other users.

Moderator: Martin

Post Reply
P-chu
Posts: 32
Joined: 05 Nov 2016 19:12

How to use Touch Gesture function

Post by P-chu » 10 Nov 2016 13:10

I don't quite understand how to use touchGesture() (or possibly I misinterpret what it does). I wanted to simulate a swipe to control one of my apps. Is touchGesture() something I have to wait for Android 7 to use?
P-chu

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

Re: How to use Touch Gesture function

Post by Martin » 10 Nov 2016 20:44

Hi,

The script function touchGesture indeed only works on Android 7. Unfortunately Google only added the required API in Android 7 so there's no chance to backport the feature to older versions of Android.
There are some root-only apps out there that can record and replay touchscreen interaction on older Android devices (RepetiTouch, FRep etc.).

Regards,
Martin

Post Reply