Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Regular Contributor
MindOperations
Posts: 64
Registered: ‎03-04-2010
My Device: 9930
Accepted Solution

Integrating with a HTML5 API?

Hello,

 

Is there any examples of anyone using a HTML5 API source with the Cascades UI? 

Brandon Clark
The Mind Company | www.themindspot.com

Developer
greenback
Posts: 550
Registered: ‎10-17-2010
My Device: (BlackBerry Z10)-> Q10/Passport Dual Use

Re: Integrating with a HTML5 API?

You can run HTML5 code in Cascades by putting all your code inside a WebView component. Javascript/HTML5/css3 goodness. 

 

Check out the docs here:

 

https://developer.blackberry.com/cascades/reference/bb__cascades__webview.html

Regular Contributor
MindOperations
Posts: 64
Registered: ‎03-04-2010
My Device: 9930

Re: Integrating with a HTML5 API?

Muhahaha, thank you.   I thought that was just like a in app browser.  Thank you for the push!

Brandon Clark
The Mind Company | www.themindspot.com

Developer
greenback
Posts: 550
Registered: ‎10-17-2010
My Device: (BlackBerry Z10)-> Q10/Passport Dual Use

Re: Integrating with a HTML5 API?

New Developer
rainmaker2k
Posts: 11
Registered: ‎12-27-2012
My Device: Blackberry Dev Alpha

Re: Integrating with a HTML5 API?

Besides using the webview with Cascades, you could also try the Webworks sdk. That's basically the way to go when you're a web developer. It has all the bridges you need to talk to all the native functions on your device.
Regular Contributor
MindOperations
Posts: 64
Registered: ‎03-04-2010
My Device: 9930

Re: Integrating with a HTML5 API?

[ Edited ]

Thank you for your feedback.  I am not making a HTML5 app but need to access a relitively small number of API sets for communication between platforms.  I understand and like C and C++ much more and have made a few small apps with Qt.  I am also testing porting from Qt to Cascades.  Qt I believe offers me the best options for cross platforming my app with deep native functionality of the target platform.

Brandon Clark
The Mind Company | www.themindspot.com