Identify the App running or close

Hi guys,

I have doubt when my user open the app I want to set the flag for True like (IsAppOpen = True).Once They close the app I want to update the flag false like (IsAppClose = False). If it is possible 



Thanks,

Jothi


Solution

Hi Jothi,

Good Day!!

You can  use OnApplicationReady systems events  for application Open.


There you can set the flag  like app opened.

But application ready will be called when the  app is opened first time.

Instead if you want to set  the flag  when the  app is opened from background,  you can use application resume event.

From Asif tiger's point, there is no way to identify close event listener,

https://www.outsystems.com/forums/discussion/44015/how-to-call-a-server-action-when-the-user-kills-the-app/

Thanks,

Aravind

Solution