Android Question Simulate click

I need to automate an external application run.

I success to run it at the startup of device. No problem for this.

However now i need to simulate a click inside because i need to select the feature to run inside this external application. User cannot interact with device.

Any idea how to do it?
 

stevel05

Expert
Licensed User
Longtime User
If the external app runs the feature you want as a separate activity, you may be able to call it using an intent. (there are examples of this on the forum)
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
what you can do is put a timer in the second app you would like to simulate the button click
and with the main app you create a txt file that has in the first line number "1"

the app start checking for this file every 10 second or whatever you want and if the number is = 1 then perform click ....
 
Upvote 0
Top