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 application, and so the fix is probably out of
date.

Thanks,
Anna

On Jul 21, 4:29 pm, "Maps.Huge.Info (Maps API Guru)"
<[email protected]> wrote:
> 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 strategy would be to save a time "difference" as a
> setting for the app, while updating this value every time a difference
> is noted.
>
> -John Coryat
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to