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
ingvar_e
Posts: 551
Registered: ‎10-31-2009
My Device: Torch 9800, Bold 9700
My Carrier: Movistar, Telenor
Accepted Solution

Web Work Newbie question

I have been developing for the Java platform for a few years. The main application is up for a rewrite and I have to consider OS10 of course. And the current user base on OS5

 

It seems that the best choice would be to use Web Works since it can be used on both 5.0 and 10.

Is that a correct assumption??.

 

I realize that even if the HTML code would the same the API calls could be different.

If everything seems to be under control, you're just not driving fast enough
-Mario Andretti-
Please use plain text.
Developer
interfaSys
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,
My Carrier: T-Mobile UK, Three, O2, Orange, Sunrise, Swisscom

Re: Web Work Newbie question

Yes.

Things to look for:

- API changes between OS versions

- You will need additional controls for button presses on Pre-BB10 devices

- The visual language is quite different

- The screen resolution is massively different

 

I'm sure there are many more :smileywink:

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Please use plain text.
Developer
ingvar_e
Posts: 551
Registered: ‎10-31-2009
My Device: Torch 9800, Bold 9700
My Carrier: Movistar, Telenor

Re: Web Work Newbie question

Thanks interfaSys.

 

Difficult choice then.

 

Use WebWorks and get 2 sub optimal solution for pre10 and 10 with al lot of  code forking or develop  5  the "old" way and 10 with Native and Cascades and get "optimal" code for both.

 

Or maybe 2 separate versions, both with WebWorks. 

 

It never was meant to be easy was it.

 

If everything seems to be under control, you're just not driving fast enough
-Mario Andretti-
Please use plain text.
Developer
interfaSys
Posts: 817
Registered: ‎11-19-2009
My Device: Z10, Q10, 9900, 9790, PlayBook,
My Carrier: T-Mobile UK, Three, O2, Orange, Sunrise, Swisscom

Re: Web Work Newbie question

I'd suggest you take a look at bbui.js if your app is only supposed to run on RIM hardware. It's developed by Tim Neil at RIM and It does a good job at being cross-device compatible, taking into consideration the limits of each OS.

--
Olivier - interfaSys ltd
Developing for BlackBerry 10 devices using the Sencha Touch framework.
Please use plain text.
Developer
ingvar_e
Posts: 551
Registered: ‎10-31-2009
My Device: Torch 9800, Bold 9700
My Carrier: Movistar, Telenor

Re: Web Work Newbie question

Thanks Olivier.

If everything seems to be under control, you're just not driving fast enough
-Mario Andretti-
Please use plain text.