How to keep an app running?
It depends on how the app has been developed. Generally, android service needs to be running if you want the application to remain active in the background. But, if services are not used, then as soon as the activity disappears or destroys, behaviour is no longer observed.