Reputation: 29
As u know, there are many solutions and codes on stackoverflow for simulating touch on your own app you are developing.
So my question is that i wanna touch a view on other application with my own application.
How can we do this?
Just imagine i wanna click on X,Y position of the screen each X seconds.
Upvotes: 2
Views: 967
Reputation: 1006744
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.
Upvotes: 1