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


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Highlighted
Developer
Posts: 124
Registered: ‎07-11-2011
My Device: 8900
My Carrier: Airtel
Accepted Solution

WebWorks Application for BB10 and BB OS 6 and above

Hi All,

 

I am trying to develop an a simple app(including filling up an form kind of thing and submitting it to server).

Will it be possible to keep same code base for Both BB series(BB10 as well lower version device).

 

Please help.

Retired
Posts: 1,561
Registered: ‎04-12-2010
My Device: BlackBerry Z10
My Carrier: Bell

Re: WebWorks Application for BB10 and BB OS 6 and above

That's dependent on the APIs you are using. If you are sticking to pure HTML5, the majority of the code should be re-usable. If you are using WebWorks APIs, you may need to be more careful and reference here which OS versions support which APIs:
https://developer.blackberry.com/html5/apis/

There is a similar reference for HTML, CSS, and JS here:
https://developer.blackberry.com/html5/documentation/web_references_1986046.html

Also, please note that you will need to package with the appropriate SDK based on the OS you are targeting (legacy BBOS, PlayBook, or BlackBerry 10.)
https://developer.blackberry.com/html5/download/

Erik Oros | @WaterlooErik | eoros@blackberry.com | Developer Issue Tracker

If a reply has answered your question, please click Accept as Solution to help other visitors in the future.
Developer
Posts: 1,230
Registered: ‎03-20-2011
My Device: Playbook, Z10 LE, Dev Alpha B, 2x Dev Alpha C
My Carrier: 3, Orange, Vodafone

Re: WebWorks Application for BB10 and BB OS 6 and above

As long as the App is HTML ONLY then yep

 

Something we regularly do is write for BB10 (used to be Playbook) then re-deploy accross iOS and Android

 

Sometimes there are issues but if you're not after anything 'clever' a basic web-app will work on everything with minimal or zero changes

 

Start with your lowest supported platform then work up from that but TEST, TEST and TEST again on everything

 

 




Click the like button if you find my posts useful!
Developer
Posts: 124
Registered: ‎07-11-2011
My Device: 8900
My Carrier: Airtel

Re: WebWorks Application for BB10 and BB OS 6 and above

Thanks For your reply.