Monday, August 20, 2012

Re: [android-developers] AsyncTask blocking UI thread

On Mon, Aug 20, 2012 at 10:34 AM, Wolfgang <wolfgangemmons@yahoo.com> wrote:
However, the ProgressDialog is not being shown until after the async task is complete.

Then you are doing something wrong.
 
I have read that async task blocks the UI thread.

You have read wrong.
 
How can I get around this to show the ProgressDialog during the async task?

Use AsyncTask correctly. If you show the code you're using right now, we can be of more help.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment