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

Web and WebWorks Development

Reply
Developer
Developer
Posts: 266
Registered: ‎04-01-2009
My Device: Not Specified

Convert Web App to BlackBerry WebWorks App

Hello,

I would really like to make a "native" BlackBerry 10 App out of my Web App. 

Question: 

How easy is it to convert my JavaScript Web App to a BlackBerry App?

 

Thanks!

Regular Contributor
Posts: 81
Registered: ‎03-09-2012
My Device: PlayBook & Bold 9780
My Carrier: n/a

Re: Convert Web App to BlackBerry WebWorks App

Extremely easy. The first app I submitted was built with only Google Chrome as testing tool. I did not own any blackberry device.

 

Just add a config.xml to package it into a .bar file...

Developer
Developer
Posts: 266
Registered: ‎04-01-2009
My Device: Not Specified

Re: Convert Web App to BlackBerry WebWorks App

thanks for the fast reply!

how does the app "feel"? do you have a link to appworld so that I can test it on my playbook?

 

i would really like to know how these apps feel, when they were a web-app first and then packaged into a .bar and run on a playbook/bb10 device.

Regular Contributor
Posts: 81
Registered: ‎03-09-2012
My Device: PlayBook & Bold 9780
My Carrier: n/a

Re: Convert Web App to BlackBerry WebWorks App

It looks and feels exactly as you'd see it in Chrome or any other webkit browser.

My app is called VawoCalc. Look it up in the store, can't miss it...

 

Developer
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,
My Carrier: T-Mobile UK, Three, O2, Orange, Sunrise, Swisscom

Re: Convert Web App to BlackBerry WebWorks App

It all depends on what your app does.

Hyperlinks will have to be converted, you may want to check that you have connectivity, your CSS might not be compatible, etc.

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Contributor
Posts: 28
Registered: ‎08-16-2013
My Device: developer
My Carrier: vodafone

Re: Convert Web App to BlackBerry WebWorks App

can the web apps developed for nokia be also converted?

New Contributor
Posts: 5
Registered: ‎02-11-2010
My Device: BlackBerry Z10 (Lisbon)

Re: Convert Web App to BlackBerry WebWorks App

[ Edited ]
If you've developed a web app for another platform, the only things you may have to change are platform-specific extensions (for example, if you used UI extensions specific to Nokia's platform that are not supported on the BlackBerry platform).
Otherwise, I would say that for the most part...there will be very minimal changes required. The biggest thing would be to add bbui.js so that you can "theme" your app to look and feel like a BlackBerry application.

For samples of that, goto https://github.com/blackberry/ and look at the webworks-samples and webworks-community-samples for inspiration, guidance, etc.
--
Adam Young (@young_adam)
Currently using Z10/LE-Z10 and Q10
Contributor
Posts: 28
Registered: ‎08-16-2013
My Device: developer
My Carrier: vodafone

Re: Convert Web App to BlackBerry WebWorks App

thanks
BlackBerry Development Advisor
Posts: 762
Registered: ‎10-01-2009
My Device: All
My Carrier: N/A

Re: Convert Web App to BlackBerry WebWorks App

My teammate Anzor has created a video for our Dev Tube channel on Youtube which will help explain this process in depth. http://www.youtube.com/watch?v=wn1FhCFfcZA&list=PLLV7PS-SYG65cY6Ik2TMNlv4tBfo5ZOjC&index=14