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.