I am also using same Android 2.0.1 API level 6.
One thing for me is I do:
        float distance= (float)10.0;
        Global.lm.requestLocationUpdates(LocationManager.GPS_PROVIDER,
0, distance, locationListener);

Not sure if "distance" creates some error??
-jim


On Oct 25, 9:46 pm, Frank Weiss <fewe...@gmail.com> wrote:
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to