I found this out the hard way too a while ago :)
I worked around it by just having the first AsyncTask class reference being 
handled on the main UI thread. If you do that, all other instances of 
AsyncTask in your app can be created from any thread.

E.g. in your Application object's *onCreate *you could just call *(new 
MyDummyAsyncTask()).execute()*. Then you can create AsyncTasks on any thread 
you'd like.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to