[android-developers] Re: Show dialog on creation - question?

2009-02-22 Thread Evgeny V
Hi Dianne! Thanks you for response! Can you suggest how can I implement so simple scenario: -Activity started - the user already got the screen. -Immediately after activity UI dispalyed I need to start update process indicated by progress dialog I tried to impelement onPrepareDialog, onStart,

[android-developers] Re: Show dialog on creation - question?

2009-02-17 Thread Evgeny V
Yes, I know. I actually did it and don't like it. What about incapsulation? I mean in this case parent class will keep and analize some specifed info about its child. Thanks, Evgeny On Mon, Feb 16, 2009 at 3:18 PM, Stoyan Damov stoyan.da...@gmail.comwrote: How about you show the dialog

[android-developers] Re: Show dialog on creation - question?

2009-02-17 Thread Dianne Hackborn
Dialogs are not blocking. You can't stop things from continuing execution while displaying the dialog. On Fri, Feb 13, 2009 at 3:31 PM, EvgenyV evgen...@gmail.com wrote: Hi! I'm trying to show dialog OK/Cancel and then continue construction after user closed the dialog. Unfortunately the

[android-developers] Re: Show dialog on creation - question?

2009-02-16 Thread Evgeny V
Any suggestions on it? Thanks, Evgeny On Sat, Feb 14, 2009 at 1:31 AM, EvgenyV evgen...@gmail.com wrote: Hi! I'm trying to show dialog OK/Cancel and then continue construction after user closed the dialog. Unfortunately the dialog get visibility only AFTER the creation of myclass was

[android-developers] Re: Show dialog on creation - question?

2009-02-16 Thread Stoyan Damov
How about you show the dialog *before* you start the activity? On Mon, Feb 16, 2009 at 2:10 PM, Evgeny V evgen...@gmail.com wrote: Any suggestions on it? Thanks, Evgeny On Sat, Feb 14, 2009 at 1:31 AM, EvgenyV evgen...@gmail.com wrote: Hi! I'm trying to show dialog OK/Cancel and then