compares lat, lon's<http://www.google.com/codesearch/p?hl=en#Y_-5uvbfPDs/trunk/BackSeatDriverV-RadarLove/src/com/digitalagora/utilities/Converter.java&q=computeLatLongDistance%20package:http://speedlimit%5C.googlecode%5C.com&sa=N&cd=2&ct=rc>
bearing is 0-360 degrees. On Thu, Jun 3, 2010 at 10:03 AM, TreKing <treking...@gmail.com> wrote: > On Thu, Jun 3, 2010 at 4:13 AM, ckloch <htc.kl...@hotmail.com> wrote: > >> But what does it mean by length 2 or greater? >> > > The length of the array you pass in. If you only care about distance, you > pass an array of size 1. > If you care about the initial bearing, you pass in an array of size 2. > If you care about the final bearing, you pass in an array of size 3. > > I honestly have no idea what the bearing refers to and have never used > them. > > How can I be sure that I read the correct result by reading results[0] ?(I >> assume it is as I have compared it with the actual physical distance). >> > > That's what the function does - it stores the calculated distance in > results[0], so you can be pretty sure that's the correct result (it's never > steered me wrong). > > > ------------------------------------------------------------------------------------------------- > TreKing - Chicago transit tracking app for Android-powered devices > http://sites.google.com/site/rezmobileapps/treking > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > > NEW! Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en