Monday, July 26, 2010

Re: [android-developers] location.getTime() returns strange result

In your code, the String variables tim and tim2 are both from
location.getTime(), with differing formatting. However, in your value
comparison, tim2 is supposed to come from "System Time".

In my app, I use "new Date(location.getTime()).toString()", and am not
seeing a discrepency for locationManager.getLastKnownLocation("gps").
Using Droid 2.1-update1

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment