1

我想在我的应用程序中使用 BlackBerry Java SDK 开发一些模块,并使用 BlackBerry WebWorks 开发其他模块。我可以同时利用 Java SDK 和 WebWorks。我不知道如何将它们集成到一个应用程序中。

4

2 回答 2

1

I would seriously consider choosing one or the other. All the major APIs are accessible via WebWorks, and if you need a Java component you can build an extension.

The other way around, I suppose you could use some kind of webview that uses local html/css/js assets alongside a Java app, but that's a mess. You're better off just going with WebWorks.

于 2012-05-31T19:05:09.867 回答
0

您可以使用 WebWorks 创建您的 UI,然后,无论您拥有什么 Java 代码,您都必须将扩展(.jar 文件)导入您的 WebWorks 项目。

https://bdsc.webapps.blackberry.com/html5/documentation/ww_developing/using_javascript_extensions_1866976_11.html

于 2012-06-01T00:30:19.237 回答