I'm making an app which shows us that which subject is being taught in classroom. I want to make a service which will run forever in background so that it can notify the user through notification even the app is closed. I tried with started activity but the service was killed after app was closed.