Android: Send a touch event -
in android possible send touch events screen? want programmatically toggle button third party app sending touch event.
this possible using 1 of these 2 approaches:
- root device
- direct injection /dev/input/eventx
- using inputmanager.injecttouchevent()
- using windowmanager.injectpointerevent()
- create
accessibilityservice
. notice not guaranteed work third-party apps.
Comments
Post a Comment