Problem:
I need to display a dialog upon the click of a menu item. The
information to be displayed on the dialog will be downloaded each time
and is a lengthy process. How do you solve this problem, so that a
progress bar is displayed during this process.

Solution I tried:
  I used onCreateDialog() of the Activity and wrote a class which
extends AsyncTask to create a dialog with new data. But in the method
onCreateDialog(), it waits for a dialog to be returned, and I was not
able to send using my class because onPostExecute() method's return
type is void.

Please suggest a solution. Thanks.

-Venkata

-- 
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