I know this question is asked a lot, but I dont really understand it. I google very much. How can I repeat a service every 5 minutes, even when the app is not running? Without you need to reboot.
on 01/12/2013 – Made popular on 01/12/2013
Can I run two services in android, I have a App with a Service, this service extends of Service and it is run in background each 4 seconds, but this service in background consumes me much battery and mobile data plan. Can I run the app with GCM and the old Service , is possible work both services in a same project?
I m making a set of apps and I have pretty much the same background service for all of them.
I'm trying to make an app that has only this Service so I don't repeat it in all of them, but the thing is don't need any Activity because there is no UI needed for it, and so the user can't close it except if they stop the Service.
I tried to remove the Activity but then the app doesn't run or start.