Thanks Brian, I could use the radar from : http://code.google.com/p/apps-for-android/source/browse/#svn/trunk/Radar/src/com/google/android
it is very helpful as well On Jun 5, 3:22 pm, Brian Smith <[email protected]> wrote: > It's an object method, not a standalone function, so it would look > like this (assuming start and end are Location objects): > > float res = start.distanceTo(end); > > As for an example of using SensorManager and SensorListener, I don't > have anything handy, but there is an example in the API > demos:http://developer.android.com/guide/samples/ApiDemos/src/com/example/a... > > If you're looking for a compass display, a good example of that is in > the Professional Android Application Development book from Wrox. It > has both simple and complex compass examples to get ideas from. I > don't think Android has any stock widgets for that kind of thing. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

