Lucas Siqueira Active Member Licensed User Longtime User Jul 18, 2019 #1 How do I make my app automatically click on a button in another application? There are some applications that do this, they overlay programs on the screen and simulates clicks. Here's an example application I use on my phone. https://play.google.com/store/apps/details?id=com.autoclicker.clicker&hl=en_US
How do I make my app automatically click on a button in another application? There are some applications that do this, they overlay programs on the screen and simulates clicks. Here's an example application I use on my phone. https://play.google.com/store/apps/details?id=com.autoclicker.clicker&hl=en_US
DonManfred Expert Licensed User Longtime User Jul 18, 2019 #2 Lucas Siqueira said: on a button in another application? Click to expand... You can´t. It is not allowed for other apps to do that. At least not if using targetsdk >23 (or so) Tapping uses Accessibility services to work. Click to expand... So you need to use accessibility service. Search the forum. @moster67 did a wrapper for it. Be warned; it may be a more complicated task then you think... Last edited: Jul 18, 2019 Upvote 0
Lucas Siqueira said: on a button in another application? Click to expand... You can´t. It is not allowed for other apps to do that. At least not if using targetsdk >23 (or so) Tapping uses Accessibility services to work. Click to expand... So you need to use accessibility service. Search the forum. @moster67 did a wrapper for it. Be warned; it may be a more complicated task then you think...