i tried out the ProgressDialog in

http://developer.android.com/guide/topics/ui/dialogs.html

about half-way down titled - Example ProgressDialog with a second
thread.


the progress bar works but if i try to invoke a 2nd time. i just get a
static
dialog and my worker thread does not get called.

i suspect that the reason is because the thread is created in the
onCreateDialog - and it's just called once.

i moved the thread create function to the onClick() method.

and now the worker thread gets invoked the second time around -
but still the progress bar animation is not working.

maybe i need to initialize something before displaying the dialog
the second time.

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