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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en