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

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -