Drago Bratko Active Member Licensed User Longtime User May 17, 2018 #1 From my app, I run other app with following code : Code: Copy 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 ?
From my app, I run other app with following code : Code: Copy 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 ?
DonManfred Expert Licensed User Longtime User May 17, 2018 #2 You can not control other apps. Upvote 0