Is it possible to detect when an app has finished playing an advert so that I can then exit it, using an automation script?
If I exit it too early I will lose points and too late and I'm wasting precious time.
Thanks
Detect when an app has finished playing an advert.
Moderator: Martin
Re: Detect when an app has finished playing an advert.
There's no official way. Check if trigger UI Event can detect the events (see button Recent events) and then use Control UI to simulate the required taps to close the advert.
Regards,
Martin
Regards,
Martin
Re: Detect when an app has finished playing an advert.
The other way is using Control UI with looped sleep as explained before. Loop the script, waiting for certain elements to appear before proceed on clicking it.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Detect when an app has finished playing an advert.
Just reading the post...
But if there aren't any elements, only graphics? It would be very helpful to have an ability to [fuzzy] «search image withing image». E.g. load bitmap from file and search it on the screen
But if there aren't any elements, only graphics? It would be very helpful to have an ability to [fuzzy] «search image withing image». E.g. load bitmap from file and search it on the screen
