B Bob Spielen Active Member Licensed User Longtime User Feb 3, 2020 #1 In this post : https://www.b4x.com/android/forum/t...oid-from-pausing-a-process.110137/post-687605, Mr Erel informed: "The UI Cloud devices are running the "designer" app for many months. The way I do it is by having a small app that restarts the main app when needed. The main app closes itself every several hours and the watchdog app sends an intent that starts the main app every 30 seconds. " Mr. @Erel could post a exemple of the watchdog? And how to close all process.... Thanks in advance.
In this post : https://www.b4x.com/android/forum/t...oid-from-pausing-a-process.110137/post-687605, Mr Erel informed: "The UI Cloud devices are running the "designer" app for many months. The way I do it is by having a small app that restarts the main app when needed. The main app closes itself every several hours and the watchdog app sends an intent that starts the main app every 30 seconds. " Mr. @Erel could post a exemple of the watchdog? And how to close all process.... Thanks in advance.
Erel B4X founder Staff member Licensed User Longtime User Feb 3, 2020 #2 This is not really related to preventing Android from sleeping. The correct way to run an app in the background is demonstrated here: Background location tracking Bob Spielen said: And how to close all process.... Click to expand... Call ExitApplication. Upvote 0
This is not really related to preventing Android from sleeping. The correct way to run an app in the background is demonstrated here: Background location tracking Bob Spielen said: And how to close all process.... Click to expand... Call ExitApplication.