Re: [android-developers] Long process before a dialog is opened

2011-05-06 Thread Satya Komatineni
Venkata, All you probably need is an activity. May be just the activity that you are on when the menu is clicked. Eitherway on the menu click start an asynctask and you can show the progress bar while the asynctask is in progress. At the end of that asynctask you can update the view in your activ

[android-developers] Long process before a dialog is opened

2011-05-06 Thread venkata raidu
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(