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

Apps Programmatically clicking on activity below the active one

Hi,

I'm developing an application that launches a 3rd party activity via intent. This works good and well. But....I need to programmatically click on the 3rd party activity. The intent (no pun intended) is to automate the third-party activity when certain signal conditions has been met.

I have played around with transparent overlays, and clicking with 'input tap x y' commands- but the tapping does not 'filter' through to the app 'below' the overlay.

Requirement: This needs to happen from the phone itself - it may not be connected to a computer where adb shell can be used.

Can anybody point me in the correct direction?
 
Back
Top Bottom