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
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,229
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!
Highlighted
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.