Android Question Make GPS tracker more efficient

MohawkMan

New Member
Licensed User
Longtime User
Hi all, first post so please be easy.

I've made a very nice app for a friend, in a nut shell; it tracks his staff vi GPS, and plots on a google map on his website.


The way I'm currently doing this is;

When the user press START -> GPS is on and live, and constantly gets the user location.

The app sends the users location to the web servers MYSQL server via a HTTP job & PHP Script. This is done constantly, every 5 seconds via a timer. (Very frequent updates are essential). This is with a PartialLock PhoneWakeState - so the timer never stops.

The majority of the other functions are powered on the web server, and so does not really effect the app.



My question: is there any way to make this do the same function, but far more battery friendly?

I hope you all understand Thanks!!
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…