How to run service repeatedly even the app is closed so that it can notify the user about something through notification?

Viewed 198

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.

1 Answers
Related