Hey all,

I am looking to use the new dispatchGesture() method in 
AccessibilityService in API 24. I've got it to call my dispatchGesture, but 
the gesture is being cancelled and returning to the onCancelled callback 
every time. I'm not sure where I am going wrong, and there is fairly 
limited documentation since this API is so new.

Here is a gist of my code, I am trying to imitate a tap on the screen as a 
gesture: https://gist.github.com/nyelito/ce80217da00408e554bc4b6146eab0ca

Are there any examples of anyone using this code or more detailed 
documentation?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/74610658-d096-4e63-b399-e369b3323cba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to