RyanNickel.com My little piece of the internet…

13Oct/100

How to calculate the distance between two lat/lon points on the blackberry

I have posted a code snippet to my snipplr account. Check it out here If you have any recommendations on how to make it faster/more efficient I'd love to hear it.
Yes, I realize that this won't work with j2me, but RIM has implemented some good helper classes to make this calculation much easier.
This calculation uses the Haversine formula.
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

No trackbacks yet.