Detect a closed app

Hi,
I'm developing an app which opens other apps which contain different screens that are closed at some point. I need to know when one of the apps is closed to start the second one. I was thinking on a system that opened the first app and then waited until it was closed. The way I was thinking it would detect it is that when the screen closes it would retourn to the project's main screen again, and so once the primary screen was visible to the user, open the next app. I was wondering if someone knew how to detect if the main screen was the visible screen.

Could be that Activity Lifecycle is what you need ?

or

Tools Extension by @Taifun

Also

https://ai2.appinventor.mit.edu/reference/other/activitystarter.html

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.