Activity Lifecycle of an app (onPause → onStop → onResume) & Move app to Background

Here is an extension to get the activity lifecycle state of an app. So e.g. whether an app is switched in the background and / or in idle (sleep) mode. I added now a move app to background method. So the extension might now also be helpful on Kodular.

ActivityLifecycle.aix (5.1 KB)

grafik

Example:
grafik

5 Likes

Nice extension, just wish I was smart enough to understand it. Looks like I have a lot of reading ahead of me.

@bodymindpower Can you please explain this :pray: :pray: :pray:

Sorry, but what is there to explain here? :person_shrugging:
It’s really self-explanatory and nothing new neither.

1 Like

For more details on this read here:

Thanks, it makes sense now.