Hi LeGeNDuS

I assume this's because your UI thread is busy executing your
operations and therefore cannot show the progress dialog. Try to
execute your operations in an other thread (e.g. by using AsyncTask).

Cheers,
Chrigi

On Fri, Mar 5, 2010 at 12:07 PM, LeGeNDuS <legen...@gmail.com> wrote:
> Hello!
>
> I'm App I'm doing I try to do some operations that are not very fast,
> and I want to add a progress dialog...
>
> I have the next code:
>
>                                           ProgressDialog progressDialog =
> ProgressDialog.show(History.this, "",
>                                                "Loading. Please wait...", 
> true);
>                                          //OPERATIONS
>                                          progressDialog.cancel();
>
> When I execute it, I don't see the progress dialog (but I see the
> program gets doing things)
>
>
> Thank you!
>
> --
> 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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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

Reply via email to