Is there an Android Intent that indicates my background services (or main process) were killed? For example, due to low system memory etc.
I would like to have them restarted if they are killed.
Is there an Android Intent that indicates my background services (or main process) were killed? For example, due to low system memory etc.
I would like to have them restarted if they are killed.
You can start the service again in onDestroy() of the service.
Or you can return START_STICKY from onStartCommand() of the service.