From my app, I run other app with following code :
This works fine.
But problem appears when this app (3CX) gets in background. Then at some stage Android (I guess) kill's it, and is not anymore active.
Is there a way to open app, and makes sure that it will not be closed by OS ? Something link "Service.AUTOMATIC_FOREGROUND_ALWAYS" but for outside app ?
B4X:
Dim Intent1 As Intent
Dim pm As PackageManager
Intent1 = pm.GetApplicationIntent("com.tcx.sipphone14")
StartActivity(Intent1)
This works fine.
But problem appears when this app (3CX) gets in background. Then at some stage Android (I guess) kill's it, and is not anymore active.
Is there a way to open app, and makes sure that it will not be closed by OS ? Something link "Service.AUTOMATIC_FOREGROUND_ALWAYS" but for outside app ?