One more question:
What do you exactly mean by get the actual Time?
If can compare the fix time with something like
System.currentTimeMillis(), but this will just work if a correct time
is set on the device. The GPS system time would be better, but i seems
that it's not retrievable on SDK 1.6 as f
thx!
On 5 Jan., 00:48, Daan wrote:
> You can use Location.getTime() this returns the UTC time of this fix,
> in milliseconds since January 1, 1970. Then you could get the current
> time and compare it to see if you find it accurate enough.
>
> On Jan 4, 10:14 pm, Lance Nanek wrote:
>
> > You can
You can use Location.getTime() this returns the UTC time of this fix,
in milliseconds since January 1, 1970. Then you could get the current
time and compare it to see if you find it accurate enough.
On Jan 4, 10:14 pm, Lance Nanek wrote:
> You can call Location#getTime to see when the fix return
You can call Location#getTime to see when the fix returned by
LocationManager#getLastKnownLocation was taken. The
getLastKnownLocation method doesn't start the GPS, so the fix may be
from a long time ago, and not be a good indicator of the current
location.
The accuracy of the fix refers to the ac
4 matches
Mail list logo