05-18-2011 07:06 AM
I'm experiencing issue with development for the Playbook using the webworks kit. My apps, although relatively simple in code, are slow to load. Background images which are only 50KB in size can take 5 or 6 seconds to appear. The app hangs while this is happening. Some of the JSON loading code is also very slow to respond. Tetxboxes with auto populate (jquery) are laggy, perhaps 5 to 10 seconds.
Also, if this same code is run from a web server via the inbuilt browser, it loads perfectly fine and fast and is very responsive. The auto populate is perfectly responsive.
Does anyone know if running apps as compiled products is somehow different to the same code running within the web browser?
Solved! Go to Solution.
05-18-2011 03:01 PM
They shouldn't be loading/running any slower than they do in the browser. A WebWorks app and the Browser use the exact same WebView control.
If you run your WebWorks app by pointing its starting page to the remote server like you did in your browser tests, does it make your app run faster?
05-19-2011 06:59 PM
The only thing I could do to improve loading time is to massively reduce the quality of my included images. This has made it more acceptible, about 1->2 seconds to load but I've really had to compromise on image quality.
I've also minified all .js files and obfuscated them as much as possible. All of this has helped but at a fair price, I'd say.Embedded iFrame is definitely slower than the same page in the standard browser.
A shame really as the platform otherwise is working well.
05-19-2011 10:28 PM
06-20-2012 10:54 AM
It's been a year and I think the issue is still here.
I've just run into the same slowness issue using jpeg for background images on PlayBook 126.96.36.1998. Is this a known issue to RIM already? Thanks.
06-20-2012 04:41 PM