Sam Li
Sam Li

Reputation: 11

How to integrate with BlackBerry Java SDK with BlackBerry WebWorks in one application

I want to develop some modules with BlackBerry Java SDK in my application, and develop other modules with BlackBerry WebWorks. That I could take the advantage of both Java SDK & WebWorks. I don't know how to integrate them in one application.

Upvotes: 1

Views: 214

Answers (2)

Philip Kirkbride
Philip Kirkbride

Reputation: 22859

You can use WebWorks to create your UI and then, what ever Java code you have you would have to import the Extension (.jar file) to your WebWorks project.

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

Upvotes: 0

Wes Johnson
Wes Johnson

Reputation: 3101

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.

Upvotes: 1

Related Questions