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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Web and WebWorks Development

Reply
Developer
bbquincar
Posts: 301
Registered: ‎08-14-2012
My Carrier: Rogers
Accepted Solution

Porting QMLcascades to HTML5

Id like to take my bb10 cascades made it (all qml based) and port it over to os 7 and 6 blackphones.

Iv download and setup my enviorment for htmls webworks. Is there an east port i can do. Are do i have to rewrite my all my code again.

Read up on BlackBerry news and QML/C++ tutorials
Check out www.twocasualcoders.com | never casual on quality .....

1 - click to all things Berry & easy share actions. Check out Launch Codes for BlackBerry 10! Find it at Launch Codes for BlackBerry **UPDATED** Get it now.....
Please use plain text.
BlackBerry Development Advisor
chadtatro
Posts: 385
Registered: ‎10-01-2009
My Carrier: Bell

Re: Porting QMLcascades to HTML5

Hello,

 

I don't know of any way to just port it over to HTML5. As you are probably aware, WebWorks/HTML5 is all JavaScript, HTML, and CSS so your code would have to be converted over.

 

There are a lot of amazing libraries, and toolkits out there that can help you create a really full featured HTML5 app though.  For example, the bbUI toolkit provides a very native look and feel to your HTML5 application.  It replicates things like the Actionbar, Context Menus, Tab Overflow menus, etc., and visually matches what you would see from a native app.

 

bbUI: https://github.com/blackberry/bbUI.js

 

Another great example is jQuery Mobile which aims to do the same as far as the look and feel of the app.

 

jQuery Mobile: http://jquerymobile.com/

jQuery Mobile BB10 theme: https://github.com/blackberry/jQueryMobile-BB10-Theme

 

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro
Please use plain text.
Developer
bbquincar
Posts: 301
Registered: ‎08-14-2012
My Carrier: Rogers

Re: Porting QMLcascades to HTML5

Thank you ill will look at both of them.
Read up on BlackBerry news and QML/C++ tutorials
Check out www.twocasualcoders.com | never casual on quality .....

1 - click to all things Berry & easy share actions. Check out Launch Codes for BlackBerry 10! Find it at Launch Codes for BlackBerry **UPDATED** Get it now.....
Please use plain text.