[android-developers] Re: Age of GPS data (continued)

2009-07-21 Thread Maps.Huge.Info (Maps API Guru)
Can you check to see if your user has selected Automatic - Use network-provided values? The second question would be: Where does the location.getTime() time come from? Is it provided by the satellite fix itself or from the phone. If from the phone then it's not really relevant how the user sets

[android-developers] Re: Age of GPS data (continued)

2009-07-21 Thread Saurav Mukherjee
try usin the time tick event instead of systime... u cud keep track of the time ticks elapsed... since u said couple of minutes: I'm trying to check the age of a GPS fix, so that I can discard location fixes that are more than, say, a couple of minutes old - I need my fix to be very accurate.

[android-developers] Re: Age of GPS data (continued)

2009-07-21 Thread Maps.Huge.Info (Maps API Guru)
I just did a test. location.getTime() 1248184334000 System.currentTimeMillis() 1248184346934 It appears as if the GPS tracks time down to the second and it can vary from the Automatic setting by quite a bit. This example shows a variance of about 100 seconds between the two. Perhaps the best

[android-developers] Re: Age of GPS data (continued)

2009-07-21 Thread Anna PS
Hi John Yes, that's exactly what I have done - I've saved the time of the first fix, and compare it to the time of the latest fix. If the two are the same when the time comes to check location, i.e. there is no time difference, I know that there hasn't been an update during the life of the