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

Adobe AIR Development

Reply
New Developer
Omnipitence
Posts: 22
Registered: ‎01-21-2011
My Device: Playbook

GreenThreading on the Playbook

I Just posted a blog post about how I used GreenThreading in my Liquid-Photo application to help improve responsiveness when searching the Device for images. I got some early feedback from users that were not happy that the Playbook would lock-up whilst it was searching for images and my solution was greenthreding.

 

The post can be found here. 

http://www.liquid-photo.com/2011/10/23/using-greenthreads-to-improve-mobile-user-interaction/

 

I hope it helps

Playbook Apps

Liquid-Photo
Follow us on Twitter @LiquidPhotoApp
P.S. Did you know you can take a screen shot by holding down the up/down volume buttons on the PlayBook! Great for recording errors.
Developer
ChappyK
Posts: 75
Registered: ‎09-13-2011
My Device: Playbook

Re: GreenThreading on the Playbook

I used a similar method on cpu intesive processes in my application too. 

 

I followed this guys tutorial http://blogs.adobe.com/aharui/2008/01/threads_in_actionscript_3.html

 

It really sucks not being able to multi thread in action script, and the more resources we can pull together to come up with the best solution the better :smileywink:



Show your support and click on the like button when you see a post that was helpful.
Regular Contributor
Transcendental_Mobile
Posts: 94
Registered: ‎04-07-2011
My Device: PlayBook

Re: GreenThreading on the Playbook

@Omni... I shall read your post later.

 

@All

 

This is what I've found, more or less readymade, to assist working around the lamentable state of ActionScript thread semantics and pragmatics:

 

(1)

http://wrongnotes.blogspot.com/2009/02/concurrency-and-actionscript-part-i-of.html
http://wrongnotes.blogspot.com/2009/02/actionscript-and-concurrency-ii-of-iii.html
http://wrongnotes.blogspot.com/2009/02/actionscript-and-concurrency-iii-of-iii.html

 

(2)

http://www.as3commons.org/as3-commons-concurrency/

 

AS Commons no doubt provides other useful packages, besides that of PseudoThread and IRunnable.