08-18-2012 02:13 AM
I am contemplating switching from a Java based OS5 native app using browserfield2 to a mobile website that runs in the native browser.
I have several a few examples of mobile web sites that have far superior speeds, than what I have been able to achieve using the Java app.
If I want to have the speed of the mobile website AND still have access to some device resources (possible examples could be local graphic resources, or a local cache, or even BBM integration), is WebWorks a viable solution?
Q2. If I settle for having the native browser speed alone (assuming the answer to my previous question is No), then in this case, is WebWorks just as good as the native browser in rendering web content.
Solved! Go to Solution.
08-19-2012 08:08 AM
Yes, WebWorks was designed exactly for that purpose. It gives you the power of HTML5 mixed with native platform APIs. There is one thing to consider though. WebWorks APIs are always released later than native APIs and sometimes they're never released by RIM (but you can connect to existing native APIs if you can write an extension).
As for speed of rendering, it's usually as good, but there is one important limitation, you have a limited amount of memory available to your app.
08-19-2012 05:39 PM
Thanks for your reply.
Before accepting as a final answer, please clarify one thing for me. It is my opinion, based on what I have seen, that the native browser benefits from some optimization that the API does not provide. What I want more than anything else to achieve those speeds for my web content. (I am open to the fact, that a mobile website maybe the ONLY way to achieve this).
My question, do you know if the rendering engine, transports, compression, and whatever else that is used by the native browser, the same will be used by the webworks app to fetch urls on the internet (not a local resource).
08-20-2012 10:45 AM
>> the native browser benefits from some optimization that the API does not provide
That is correct. The web view on BlackBerry OS 5.0 is called browserField2. Although it does share the same rendering engine as the native browser, there are subtle differences that can impact performance:
08-20-2012 12:42 PM
Thanks and kudos to both of you. I am not sure which response to assign as the final answer as BOTH have help in clearing up (and confirming) my understanding of this issue.
08-21-2012 10:52 AM