Hi. I'm trying to track GPS updates in my app using telnet and the
"geo fix" command. Logcat is reporting back different long/lat values
from what I enter.

I get the feeling that the "geo" command is doing some floating point
math and breaking the coordinates. The margin of error is significant
ranging several hundreds of feet. Does anyone have a solution for
this?

For example:

"geo fix 45.52304 -122.640155" reports back "45.52416771666667
-122.63536678". The numbers are consistently wrong.

relevant code:
public void onLocationChanged(Location loc) {
        Log.i(TAG, "LAT: " + loc.getLatitude());
        Log.i(TAG, "LONG: " + loc.getLongitude());
}

--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to