You're trying to get the distance and bearing from the start point to the end point? If so, then you don't need to work with the compass hardware... unless you later want to use it to help the user navigate to the point. The Location class (in android.location) can be used compute those two values. It doesn't deal with GeoPoint objects, but converting the coordinates is very easy.
On Jun 5, 9:42 am, Georgy <[email protected]> wrote: > how can I implement the Compass function having 2 geopoints (start and > destination)? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

