06-02-2012 11:47 AM
Hi,
this is more a general question but also regarding the Air development for the Playbook and further BB10 devices.
My Playbook has some huge performance problems when it comes to scrolling lists.
And this problem exists with nearly every app (not the ones I developed).
For example, have a look at the NTV app - its such bad, its nearly unusable because it is so much lagging when scrolling lists.
I don't know how this app was developed but I assume it is Webworks or Air.
You can see this lagging also in the official Facebook app - its the same bad performance when it comes to scrolling.
I assume this Facebook app is also WebWorks or Air.
So is Air or WebWorks usable at all?
This performance does not make fun and it does not make sense to develop applications with this platforms if these performance issues are platform based.
My question is now, is it true that the only platform which really "works at all" (regarding performance) is the native "platform"?
Or is this a problem in the current Playbook OS version?
Did anyone else notice this performance issues when scrolling lists?
Thanks,
Bullety
Solved! Go to Solution.
06-02-2012 12:28 PM
06-02-2012 07:26 PM
Thanks for your message jtegen.
Well, I must say that I even got problems with App World.
The Playbook "itself" is fast, scrolling the apps list is fast etc.
But even the App world main screen lags when I scroll the apps (12 app pictures in this horizontal list).
And it is so slow that it simply does not make fun at all to use it.
So I wonder how this app is built.
If App World is built with Air and Air is simply as slow as this on the Playbook, it would be a reason for me to not use Air at all.
But if it is built with the NDK, I wonder where the really bad performance comes from.
Do you also have this performance problem even with the App World app?
06-03-2012 03:59 AM
06-03-2012 08:16 AM
06-04-2012 11:35 AM
I also have to say - using AIR with the BlackBerry components is no fun. I spoke to a few users about the performance of lists, and luckily many don't even notice. But as developers, it's true, it's no fun because you can see the lag.
When you use a list in AIR, even a list with 50 entries shows a huge lag. You can use a lot of tricks, see here: http://supportforums.blackberry.com/t5/Adobe-AIR-D
It's sad to say it, but any App with lists/scroll panes I made, if I had the time/chance to redo them, I would, but only with NDK. Not even WebWorks because personally I also saw some lagging there. The hope of better performance is with Cascades.
06-11-2012 12:40 AM
Hello guys,
no offense, but I don't agree at all with what is said in this post.
AIR is quite good rendering lists, I see no lag with optimized item renderers and quite big list. Actually list size is not an issue if you use virtual renderer. I'd say it's just all about optimization, whatever the language.
06-11-2012 02:45 PM
Hmmm...Acenet, even most the apps that come with the Playbook are not working well - so there may be a general Problem in the current Playbook OS?
06-13-2012 05:48 AM
Its not a problem of the Playbook OS. Nearly every app, which comes with the playbook is an AIR app. Its because AIR was the first platform available for playbook development. And while AIR is a powerful framework, there are performance issues, i think , because it needs a runtime and its single threaded and most of it is vector rendring, which is slow too.
But it is possible to get good - not perfect - scrolling performance if you make use of some tricks.
I think it depends on the app you want to build. If the core element of your app is a list (for example a twitter app), then Cascades might be the best. Or even Webworks. When it comes to animations, vector graphic etc. (for example a clock app, charting, or a game) AIR offers great APIs and tools and a mature programming language. Webworks is good for small or content-centric projects, imho.
Cascades has a very limited API for now. There is, for example no build in drawing API, so you need to use openGL. You cant define simple shapes with QML and so on. The current QML is limited and you need to mix it with c++ code when you wani to do something special int the UI. And the documentation is very basic.
I will wait for the next version of Cascades, or even Qt5, which offers great things like shader, 3D-animations etc. out of the box.
On the other hand, i think that the new BB10 devices will run AIR list-controls faster, because of the faster processor, so maybe the performance-problems will go with time.
06-13-2012 09:52 AM