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
My Carrier: VZN
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

Please use plain text.
Developer
greenback
Posts: 514
Registered: ‎10-17-2010
My Device: BlackBerry Z10, DAC

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

Please use plain text.
Regular Contributor
MindOperations
Posts: 64
Registered: ‎03-04-2010
My Device: 9930
My Carrier: VZN

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

Please use plain text.
Developer
greenback
Posts: 514
Registered: ‎10-17-2010
My Device: BlackBerry Z10, DAC

Re: Integrating with a HTML5 API?

Please use plain text.
New Developer
rainmaker2k
Posts: 11
Registered: ‎12-27-2012
My Device: Blackberry Dev Alpha
My Carrier: Vodafone

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.
Please use plain text.
Regular Contributor
MindOperations
Posts: 64
Registered: ‎03-04-2010
My Device: 9930
My Carrier: VZN

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

Please use plain text.