-1

In desktop, We can simulate automatic mouse click with given coordinates. is this possible with Android? Can I simulate automatic touch/tap on scree.

Frank Underwood
  • 111
  • 1
  • 2
  • 6

1 Answers1

3

Generally speaking, you can't.

You are welcome to write an AccessibilityService. However, this has only limited ability to manipulate other apps, and it requires users to not only install your app but agree to allow your app to have wide access to all their existing app's UIs.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491