Hi,

You should not be doing this.

You would probably want to handle everything related to UI from the
Activity class itself.
You start a background activity in a thread, and show the progress
dialog. Then when the background thread exits, you dismis the progress
dialog from the activity class itself.

Have a look at Romain's Painless threading post in Android Blogs.

http://android-developers.blogspot.com/2009/05/painless-threading.html

Thanks,
Kumar Bibek

http://tech-droid.blogspot.com

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

Reply via email to