我已经编码sencha应用程序,我想为黑莓10现在建立它,我不知道;不理解适当的cordova版本,并与cordova 3.0运行黑莓10错误。在http://cordova.apache.org/docs/en/3.1.0/guide_platforms_blackberry10_index.md.html提供的文档似乎不够。任何答案。如何运行具有Sencha BB10 Phonegap/Cordova Webworks的项目?
0
A
回答
1
如何运行具有Sencha BB10 Phonegap/Cordova Webworks的项目?
框架
煎茶:为构建任何设备上运行的应用程序的通用基于HTML5的应用程序开发工具和服务。
PhoneGap/Cordova:我们使用2.7及以下版本。与cordova-cli一样,由于某些版本不兼容问题,我们无法为BB10创建版本。
WebWorks:不要混淆这个,因为这需要运行一些命令来移植应用程序到BB10手机。 BlackBerry 10 WebWorks SDK支持在 javascript + html平台上为BlackBerry 10 OS开发应用程序。
设备:BB10
步骤
第1步:在BB10
运行的PhoneGap下载手机峡版本(我们下载2.7)
> Follow the steps mentioned in this link
[Click Here][1]
https://github.com/ctetreault/incubator-cordova-docs/blob/master/docs/en/edge/guide/getting-started/blackberry/index.md
> Create New Project from above step and run on device.
> Good to go for next step. Now Your project has all the features from Phonegap working in BB10 (like Camera, geolocation....). Generally controlled by plugin.xml and config.xml. Though there are few BB10 specific features or enteries like <rim:permissions> which is required by BB device to access core features
步骤2 由于Sencha不直接支持BB10 。所以,请执行以下步骤来对BB10(的PhoneGap项目)运行煎茶事情
> Go inside the build folder in Sencha project published by Sencha Touch App/Architect.
> Copy all the contents (resources, splash, touch, all js) from the package/<App Name> folder (this folder depends upon Sencha cmd build) to
the BB10 phonegap www folder.
> Remember not to overide config.xml as BB10 has it's separate config.xml having some of it's specific features.
> Now open index.html and change the import of phonegap.js to the specific version you are using. Check inside BB10 phonegap project you will find specific cordova2.XXX.js
按照这些步骤,希望你最终会微笑。
相关问题
- 1. BB10的WebWorks:打个电话
- 2. 如何在BB10中设置iconBadge webworks
- 3. 如何使用BB10 webworks在BB10中使用SMS服务?
- 4. 如何在Xcode模拟器中运行sencha touch项目
- 5. 如何在BB10上存储访问密钥Webworks
- 6. .cod数据部分大到运行黑莓webworks项目时
- 7. Webworks:如何运行重复任务
- 8. 如何运行django项目?
- 9. 如何运行joomla项目?
- 10. 如何运行Python项目?
- 11. 如何运行websharper项目?
- 12. 如何运行symfony项目
- 13. 如何运行Android项目?
- 14. 如何运行GWTP项目?
- 15. 如何运行DLL项目
- 16. 从命令行运行具有依赖关系的maven项目
- 17. 在Blackberry10 webworks上打包sencha touch2应用程序
- 18. 迫使设备方向的WebWorks黑莓BB10
- 19. 在发布模式下禁用web检查器 - bb10 webworks
- 20. 运行项目在所有
- 21. BlackBerry WebWorks调用弹出式BB10共享面板/屏幕
- 22. 黑莓webworks项目不可选?
- 23. Phonegap 2.3.0在BB10上找不到全球化类Webworks应用程序
- 24. Sencha touch - 如何运行生产版本?
- 25. 如何解决黑莓10 webworks的“无效项目”10
- 26. 如何在Mac OS X中运行BB10模拟器
- 27. 无法运行具有Maven集成的项目
- 28. 如何运行leiningen创建的项目?
- 29. 如何快速运行我的项目?
- 30. 如何运行克隆的Django项目?
感谢user2790034这工作像魅力..也提到的链接是 [这里](https://github.com/ctetreault/incubator-cordova-docs/blob/master/docs/en/edge/guide/getting -started/blackberry/index.md) –
我可以在3.1上运行它[现在看它](http://techbirds.in/?p=500)。对于Sencha构建。使用sencha cmd'sencha build app package'进行适当的构建。现在将'/build/package/'放到您的Cordova项目的www文件夹中。建立你的科尔多瓦项目。我认为只要您在index.html文件中使用'',以及cordova的相应API调用摄像头和其他设备功能,它就可以工作。 –