Wednesday, 15 May 2013

android - How to keep GPS running in backgroud without pause -


I am working on an application that tracks the user location using GPS running in the background service. It is that when there is no fixed fix in the GPS, it automatically closes, even if I have not called a stop function on the GPS. The GPS icon is not even in the status bar. Then when I exit, I do not get a point number unless I manually start the GPS from the app.

I am resuming the GPS with the parameter 5 seconds until a GPS is fixed and for 5 seconds the GPS is adjusted respectively 1 min to 10 minutes I'm doing this in the GpsStatusListener interface event.
It has been asked for some time but I could not find any suitable solution to overcome this problem.


No comments:

Post a Comment