• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Simulating a mouse click in external app

lbobrov2

Newbie
Hi,
I want to write a code for simulating a mouse click, in the following way :
1. An external app will be launched from my app.
2. In the launched ext. app, a click will be done in a specific position (x, y), like someone did that using finger press.
(This should be done without rooting.)
Any ideas please?
Did someone tried that before and have experience with this?
Thanks in advance,
Lior.
 
It's not possible to do what you want. An app can't control, or cause some UI event to happen in another app.
 
Back
Top Bottom