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

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -