简体   繁体   English

在Cordova应用程序中使用Blackberry webworks API

[英]Using Blackberry webworks API within a Cordova application

I'm building an app for Blackberry 10 using Cordova 2.8.0. 我正在使用Cordova 2.8.0为Blackberry 10构建应用程序。 I'm able to use cordova API, but I want to use some methods of the Webworks API, but although I add the webworks.js file in my html, the 'blackberry' object is not defined in my application. 我可以使用cordova API,但我想使用Webworks API的一些方法,但是虽然我在html中添加了webworks.js文件,但我的应用程序中没有定义'blackberry'对象。 ¿How can I use it? ¿我该如何使用它?

All of the old WebWorks APIs have been ported to Cordova plugins here 所有旧的WebWorks的API已经被移植到科尔多瓦插件这里

What you need to do is not use the webworks.js file, but from within your project, run cordova/plugin add and the plugins you want to use. 你需要做的是不使用webworks.js文件,但是从你的项目中,运行cordova / plugin add和你想要使用的插件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM