Ricardo Azevedo Ricardo Azevedo - 1 year ago 99
Android Question

Wrong gps timestamp in Android with only 7 digits

I've an app that uses the LocationManager in Android and i'm tryng to get the current time provided by gps in millis.

I noticed in my database a row with a wrong timestamp.
There's others that are always corrected, for example:

  • 1477050084629: Correct time provided

  • 6406148: Incorrect time provided

The incorrect time is provided by using a device Samsung SM-J105B (Galaxy J1 Mini Dual Chip).
I didn't find topics related a problem like this, only problems when the time is different by hours or days.
In my case the timestamp return a number of small quantity of digits.

Answer Source

I think the problem would be generated by device, see this topic:


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download