How to detect when an Android application is minimized?

howto

#1

How to detect when an Android app goes to the background? So Is this even possible in appyBuilder?


#2

try the tools extension and its ActivityStateChanged event
Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.


#3

Hey thanks for you help but there is an issue, I can detect the app pause means app is minimize but can I detect the app active status again after the minimization by the user.


#4

read the documentation of that event and try the example project
Taifun


#5

Why is it taking Microphone permission? If this permission is denied, the activity statuses are not working properly. So whats the solution?


#6

the tools extension does not require any permission
it seems to be, you added some other components into your app…
Taifun


#7

But…I am facing a issue… Whenever an interstitial ad shows in the app the activity state change to pause and if ad is closed, the activity state change to resume… This is conflicting with the app minimization and open again state detection for me so I am unable to do what I want to do when app is minimized or open again after minimization…Hope you can help me…Thanks.


#8

probably you can find out, if the ad has been closed?
sorry, I can’t help you with that, I do not like ads… :wink:

Taifun