Can i get list of opened apps in android phones?

Can anyone help me to get list of opened apps through kodular’s code or want to get notified when any app gets open/close.


Are you trying to fetch the number of user online on your app?

Explain it - Apps like - paytm, freecharge, kodular, youtube, telegram… are opened and i am working with these apps.

want - want to develop an application it will run in background and will acknowledge/notify me that which application is just now opened.

As of now, it’s not possible to run your apps in the background.
So I don’t think it’s possible to do what you wish to.