[android-developers] Re: Problem with Progress Dialog

2011-07-17 Thread kamiseq
are you creating this dialog every time you want to show it or are you try to set progress value on already created dialog?? On 17 Lip, 11:29, Ajith Kamath sjce.aj...@gmail.com wrote: Hi I want to use Progress Dialog in my application with default style(Spin Wheel). I use setMax() to set the

[android-developers] Re: Problem with Progress Dialog

2011-07-17 Thread Mike
spin wheel you can't set the progress...it is on of off. -- 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

Re: [android-developers] Re: Problem with Progress Dialog

2011-07-17 Thread rambabu mareedu
you have to setCancelable(true); end of the progess dialog .. On Sun, Jul 17, 2011 at 10:15 AM, Mike darksk...@gmail.com wrote: spin wheel you can't set the progress...it is on of off. -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] Re: Problem with Progress Dialog

2011-07-17 Thread Ajith Kamath
Hi Thanks for the all the suggestions. @kamiseq : I create a new Progress Dialog in my Activity and trying to set its progress from a thread spawned in this activity. In the thread I'm doing some work and then setting its progress. @Mike: Even I'm thinking of the same. Is there any way to

[android-developers] Re: problem using progress dialog with usertask

2009-08-31 Thread Maurizio
'android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.binderpr...@435904d8 is not valid; is your activity running' Make sure you showDialog(...) on the UI thread. Maurizio On Aug 21, 5:00 am, Sundar vmsund...@gmail.com wrote: Hi, I have an application that

[android-developers] Re: problem using progress dialog with usertask

2009-08-21 Thread Mark Murphy
Sundar wrote: I want to show a progress dialog until the content gets downloaded and processed. But when i call the progessdialog.show() method I am getting the following error. 'android.view.WindowManager$BadTokenException: Unable to add window -- token android.os.binderpr...@435904d8 is