tatman wrote: > I have a GeoPoint (point from MapView) object and Location (from > LocationManager) object. I want to compute the distance between the > two. Location has a "distanceTo" function. > > I cannot create a new Location object from lat, lon values. > > What is the recommended way for doing this?
Location has static distanceBetween() method you can use. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android Training in US: 11-15 January 2010: http://onlc.com -- 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

