Thank you. So that explans it.

However, is there a way to block "show()"?

is the behavior of "showDialog(id)" the same as well? or is that a
blocking call?

Thanks again
Satya

On Tue, Oct 14, 2008 at 1:44 PM, Romain Guy <[EMAIL PROTECTED]> wrote:
>
>>   //show
>>   ad.show();
>
> When you call show(), the dialog is scheduled for display, but the UI
> thread keeps running which means...
>
>>   //How come the following is "null" ???
>>   //when it shoudl be "hello" on a button click
>>   return pl.prompt;
>
> That this line of code executes right after show() finishes, not after
> the user clicks the button. Your listener has not been invoked yet at
> this point. show() is not a blocking call.
> --
> Romain Guy
> www.curious-creature.org
>
> >
>

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