Android Question Restart external app

KPmaster

Member
Licensed User
Longtime User
Hi all,
there is a way to restart an external app? I want to restart every two hours an external application, if installed on the Android device.
 

DonManfred

Expert
Licensed User
Longtime User
Is it you app you want to restart? Or a from a different developer

If it is your app you can use this tutorial to build a communication bwtween your apps...
 
Upvote 0

KPmaster

Member
Licensed User
Longtime User
Yes, you right. I did a try starting the external app sending an intent, but sometimes the app stay in background of mine and do not come at top most level. Why?

B4X:
Dim i As Intent
Dim p As PackageManager
i = p.GetApplicationIntent("app.to.run")
StartActivity(i)
 
Upvote 0
Top