Andreas Andreas - 1 year ago 150
Android Question

GPS-time in Android

I'm looking for a way to display GPS-time in my app.
What is the easiest way to do this?

(It has to be GPS-time due to slight time differences between gps time and internal system time)


Answer Source

Whenever you receive a fix from the GPS, the method onLocationChanged is called. The parameter to this method is an instance of Location. One of the methods of this parameter is getTime which will give you what you are looking for. That is if I got right what you are looking for. Read more here

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