Skip to content Skip to sidebar Skip to footer

Android Service With Always On Gps

I've created an android app that is so far working quite well. It contains a local service which is responsible for getting the users location every couple of minutes and relaying

Solution 1:

Your best bet is to use the AlarmManager to wake up every two minutes, do some processing and quickly go back to sleep.

If you think you're hardcore, you could even use a wake lock, but that will keep the phone's CPU turned on persistently without mercy. You don't want that.

Post a Comment for "Android Service With Always On Gps"