12-04-2007, 11:25 PM
Talking BlackBerry Encyclopedia
Join Date: Oct 2007
Location: Seattle, WA
Post Thanks: 0
Thanked 0 Times in 0 Posts
Yeah, I was trying to use Coordinates.distance() recently and it didn't appear to be working so I implemented my own distance method (using the Haversine algorithm). Used the Float11 library for Math.pow and Math.atan2 and it worked great.
Again, I think we should all start make things available to the development community. I'd like to see a library repo -- perhaps similar to a Maven repo -- full of preverified libraries that we could all use, under an unrestrictive license like MIT or Apache maybe.
To that end, if anyone has anything they'd like to contribute please send it to me and I'll host it on my web site. Also feel free to send suggestions and requests for libraries that you'd like to have available. In addition to libraries I'd also like to have a cookbook of useful examples that might not be covered in the Developer Manuals or Knowledge Base (like ksoap).