How to detect if app is open or closed

Hello everybody

I want to detect if app is open or closed. I will explain with help of example. So if I open YouTube app then in my app label1= show YouTube is opened and if I closed YouTube app then in my app will show label1= YouTube is closed

Thank you!!

From the documentation -

No I want to detect app is opened or closed

My app will detect others app

I think it’s not possible to control or know the status of other app with your app.

:pensive: in android studio this is possible but why not in kodular

Like an game booster when game opened then game Will boost the game

Kodular is limited. Be happy with what you get without coding. If you want this, learn Java yourself and code it in Android Studio.

2 Likes