11-20-2011 06:56 AM
Hi everybody I just moved from native to Webworks development, i'm experiencing a very annoying issue. The app is not slow itself (i mean during DB and elaboration), the problem is with the UI. I display a simple listview in Jquery mobile: when i open it from the browser directly hosted on my site, it scrolls easily and relatively fast(compared to iphone and android it's slower hoever acceptable), when i pack it in webworks, scrolling the list becomes sluggish and slow.....i feel like this is ridiculous.. any advice? I run it on a OS 6.600 9780 and as adviced to reduce memory usage i'm loading content with JS always into the same page.
Thanks
11-21-2011 11:23 AM
Actually, I get the opposite results. I find that performance in the browser is slower than packaging the app. When I package the application, it becomes alot smoother.
11-21-2011 11:38 AM
mmmh i even see the squarde tiled transparent background come out while i scroll in the webworks app...
11-21-2011 04:38 PM
Hi peterdeka,
The truth is that thw browser and WW on the smartphone use two different rendering engines so there are differences between them. I'm surprised to hear its that much slower, but it doesn't surprise me that jquery mobile wasn't optimized for BB. For a great BB UI framework checkout bbui
What version of JQuery mobile are you using? I've heard there are major performance boosts in the 1.0 release.
button below the post(s)11-21-2011 09:03 PM - edited 11-21-2011 09:23 PM
Thanks, i'm using the latest version.....when i enable focus scrolling with trackpad i don't see the tiled transparent background appear,however scrolling a list it's a bit slow and onfocus effects handled by JQmobile take a lot to render(obviously we're talking about 100s of millis). I'd like to get it working smooth with jqmobile because the app runs great on other platforms....
however i had a look at bbui and it seems nice, but how can i dynamically refresh elements? i mean in jquery i can call buttonselector.button() to apply jquery ui styling, how do you do it in bbui? looking at the code seems something undocumented like "button.apply(element)" Thanks a lot
11-23-2011 08:11 PM - edited 11-23-2011 08:13 PM
I implemented my list with BBUI and scrolling is sluggish (slightly better than before), i read that the problem is linked to the fact that scrolling avents are passed between java and webkit in some strange way that produces "echoes". I mean are we serious? is there no solution to this?!? list element's border and background highlighting go each one on it's way!
12-03-2011
01:02 PM
- last edited on
12-03-2011
01:10 PM
by
matthewyongkim
has anyone some advice on this? i'm using a BBUI image list so it's a very basic interface but even scrolling a list of two elements it's horrible! the focus border moves on its own as scroll events where trigered all together every now and then! in the phone's browser runs smooth but in webworks runs (edit)
. I'm getting mad about this. Webworks 2.2 os6