Hey guys, I finally got around to trying this out myself. I've been working
on a little utility app to understand the location services.
I haven't been able to reproduce any of the discrepencies you mentioned.
My app registers an update listener and sets a Text view with this:
latLng.setText(String.*format*("position: %4.6f, %4.6f",
location.getLatitude(), location.getLongitude()));
I also added a Log.i statement to log location.toString().
I enter locations in DDMS using the Location controls under the Emulator
control tab. Worst I've seen is when I enter 41.74, then logcat displays
41.739999999999995.
I'm running the emulator Android 2.0.1 API level 6. What are you guys
running?
--
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