Android Question Really keeping an app alive?

Michael Gasperi

Licensed User
I’ve been turning old smartphones into clocks, weather, and network status displays that are always plugged in and on. They need to run 24/7 without interruption. Currently I put a KeepAlive(True) in Activity_Resume, but once and a while I still find that something has apparently killed the app and it is just sitting on the home screen. What would be the best way to have an app run forever like this without any chance of being killed?