There are several ways to present a "dialog window" where a question can be asked and a response received.
I've often found lots of code examples by doing a search on the internet.
There aren't...
Type: Posts; User: Norm
There are several ways to present a "dialog window" where a question can be asked and a response received.
I've often found lots of code examples by doing a search on the internet.
There aren't...
The code has lost all of its formatting and indentations.
Why are you posting this simple bit of code?
Please wrap the code in code tags not in quote tags.
Is the listener called? Add a call to println() to the listener to see if it is called. Print out the value of name for example. The output will show in the LogCat window.
Please explain.
If you get error messages, copy the full text and paste it here.
If the program executes differently than you want, explain what it does and what you want it to do.