I am working on an application which need to show notification constantly.
I\'ve a service to show the notification every seconds.
When the resources goes low android is
There is no way to completely stop it from ever being killed. Making it a foreground service helps. Returning start_sticky means it will be restarted if it is stopped (so it should do a startService on itself in its onCreate to make sure it restarts and not just gets recreated). But Android has the right to kill any service at any time due to resources.