You employ startForeground(int, Notification) if killing your service might be disruptive to your person, such as In case your service is executing track record audio playback, Hence the person would detect if their new music stopped participating in. Take note that calling this method does not Established The bottom context https://www.youtube.com/watch?v=RSlwOZLlUGg