黑莓编程时地图的最佳选择
我看到黑莓有 java sdk 和 webworks sdk,有 bb 5、6,现在还有 7 个操作系统……可以玩 adobe air 和 webworks 作为剧本。我正在寻找将 Android 应用程序移植到 BB 的方法。我需要让应用程序的地图部分具有响应能力,具有快速的捏缩放平移等功能,并且看起来与 Android 或 iOS 上的内置地图一样好。如果不购买第三方许可证,哪个 BB 的 sdk 最好,他们的 API 中有我需要的吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
对于一个业余爱好项目,我以 3 种不同的方式使用 Google 地图:首先作为静态图像,作为 Javascript,最后作为 flash/flex 组件。
(1) 静态图像是最容易使用的一种。
(2) JavaScript 是最轻量级且在网页上加载速度最快的。
(3) Flash/flex 是最先进、响应速度最快的。
但是:(3) 不适用于 BB 5、6、7。它仅适用于 Playbook。 (2) 可与 BB 6、7 配合使用,但不太舒服...
您也可以使用 Blackberry Mapfield,但它无法与 Playbook 一起使用 - 直到 BB Java SDK 发布为止。
您也可以等待适用于 Playbook 的 Android Java SDK,但它不适用于 BB 5、6、7。
仅供参考,并不试图给出完整的答案。
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.
要使相同的代码库在 BB OS 6 和 7(OS 5 现在支持较少)以及 PlayBook 上运行,唯一的方法是使用 WebWorks SDK。由于 WebWorks 基于 HTML 和 JavaScript,因此您有很多地图选项:
希望这些资源可以帮助您入门!
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:
Hope that these resources can get you started!