greenoldman
greenoldman

Reputation: 21052

Why does Location in OnLocationChanged have old time?

I listen to location changes with OnLocationChanged, I use solely GPS. The problem is with the time values (milliseconds from 1970-01-01). In my case it represents 32 years, so it gives year 2002, I would understand some fluctuations but being off by 19 years is somewhat a big difference.

It is not long type capacity, it can express values covering year 2021 and much more.

So what is the reason I get such odd time and how to fix it using GPS time (i.e. without to reverting to simply getting system time)?

Android 2.3 Gingerbread.

Upvotes: 0

Views: 78

Answers (0)

Related Questions