I see there are java sdk and webworks sdk for blackberry, with bb 5, 6, and now 7 os systems in existance... play adobe air and webworks for the playbook. I'm looking to port an android app over to BB. I need to have the maps part of the app be responsive, with the pinch zoom pan, etc fast and looking as good as on Android or iOS with their built in maps. Without buying a third-party license, which sdk for BB 开发者_开发知识库would be best, and do they have in the API what I need?
For a hobby project I've used Google maps in 3 different ways: first as static image, as Javascript and finally as flash/flex component.
(1) Static image is the easiest one to use.
(2) Javascript are the most lightweight and quick to load at a web page.
(3) Flash/flex is the most advanced and responsive.
But: (3) won't work with BB 5, 6, 7. It will work only with Playbook. (2) will work with BB 6, 7 but not very comfortable...
Also you could use Blackberry Mapfield, which won't however work with Playbook - until BB Java SDK has been released for it.
And you could wait for Android Java SDK for Playbook too, but it won't work for BB 5, 6 , 7.
Just FYI, not trying to give a complete answer.
The only way to get the same code base to work on BB OS 6 and 7 (OS 5 is now supported a lot less) as well as the PlayBook is to use the WebWorks SDK. Since WebWorks is based on HTML and JavaScript, you have lots of options for maps:
- Google Maps API (http://code.google.com/apis/maps/documentation/javascript/)
- Yahoo! Maps API (http://developer.yahoo.com/maps/)
- Bing Maps API (http://www.microsoft.com/maps/developers/web.aspx)
- MapQuest SDK (http://developer.mapquest.com/web/products/featured/javascript)
- MapQuest Open Source SDK (http://developer.mapquest.com/web/products/open/sdk)
Hope that these resources can get you started!
精彩评论