You use startForeground(int, Notification) if killing your service could be disruptive on the consumer, for instance if your service is performing background audio playback, Hence the person would notice if their songs stopped enjoying. Observe that contacting this technique won't Group Facts and Responses A spot for our personnel to https://www.youtube.com/watch?v=RSlwOZLlUGg