K KPmaster Member Licensed User Longtime User Feb 9, 2016 #1 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.
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 Feb 9, 2016 #2 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
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...
K KPmaster Member Licensed User Longtime User Feb 10, 2016 #3 I want to restart another app, developed by other people, not mine. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Feb 10, 2016 #4 You can start external applications by sending an intent. Killing a process is problematic, especially on newer devices. Upvote 0
You can start external applications by sending an intent. Killing a process is problematic, especially on newer devices.
K KPmaster Member Licensed User Longtime User Feb 12, 2016 #5 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? Code: Copy Dim i As Intent Dim p As PackageManager i = p.GetApplicationIntent("app.to.run") StartActivity(i) Upvote 0
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? Code: Copy Dim i As Intent Dim p As PackageManager i = p.GetApplicationIntent("app.to.run") StartActivity(i)
Erel B4X founder Staff member Licensed User Longtime User Feb 14, 2016 #6 Maybe the other app closes itself for some reason. Upvote 0