Probably you should look into extending the Dialog class. Just specify
your layout and whatever event handling you need in that class, then
use it like a Dialog. In your case, I'd have some kind of setter
method in your Dialog subclass to set an OnClickListener for whichever
buttons you might have in the Dialog. That way, you can specify the
functionality for a button click outside of your Dialog
implementation.

On Apr 27, 5:52 pm, scimitar <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I want my application to pop up a dialog box that asks for some user
> input. The user enters the input and clicks a button. Based on the
> text that the user has entered, the application then continues it's
> operations. How should I implement this?
>
> thanks
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to