Yeah.  It's easy.

Override onCreateDialog() - have it create your dialog.
Override onResume() - call showDialog(id).

It's the same as any creation of a dialog.
I like to declare a constant for each dialog id.  The ID you pass from
showDialog gets passed into onCreateDialog(int id).  So just make your
first dialog 0, next 1, or whatever you like.

On Sep 18, 6:40 pm, Agus <[email protected]> wrote:
> Hi all,
>
> I need to open a progress dialog on the onResume() method. But no dialog is
> opened.
> Any solutions for this?
>
> Agus.
--~--~---------~--~----~------------~-------~--~----~
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