I want to perform swipe on screen using accessibility service. i tried this but this only perform a single touch. i know it is possible because when enable my service on dev
Make sure you configured your service to perform gestures:
android:canPerformGestures="true"
Setup your path correctly:
p.moveTo(position.x, position.y); p.lineTo(position.x + 300, position.y);
It only works on android 24 and above.