Control Application visibility

Control Application visibility

BY 23 Jul 2014 Native Application Development

Hi,

I want to launch one app from another but with a conditional check in the OnAppControlRequestReceived().

If the condition fails, I dont want to launch the second app.

Im able to get it working when the second app, to be launched in not running at all.

But when it is already running in the background and another app tries to launch it  without the conditional check getting satisfied, it still opens.

How to prevent this and make the second app remain in its previous state itself?

Are changes required in OnForeground() call?

Becase OnAppInitialised() gets called only for the first time of the app launch.

Please help me with this.

Thanks,

Priya

 

 

 

Written by