SyntaxFix
Write A Post
Hire A Developer
Questions
You can implement startForeground for the service and even if it dies you can restart it by using START_STICKY on startCommand(). Not sure though this is the right implementation.
startForeground
START_STICKY
startCommand()