Android Question Prevent Android from sleeping (long periods)

Bob Spielen

Active Member
Licensed User
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.
 
Top