android - How can I detect accessibility gestures from within a custom view? -


i need make custom view detect , react jellybean's accessibility gestures (eg: scroll page, swipe focus). example appreciated. can't seem find definitive in docs.

i able intercept accessibilityevents writing custom accessibilitydelegate (call view.setaccessibilitydelegate()): http://developer.android.com/reference/android/view/view.accessibilitydelegate.html

unfortunately have not been able find way intercept swipe focus event tabs between view elements. think may able writing accessibilityservice , having pass information app, seems accessibility services designed used multiple apps, , have manually enabled in accessibility options user, , order in receive events depends on order in enabled.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -