Friday, April 18, 2014

Ask: Using AlertDialog display input box, and how to assign values?


AlertDialog display registration information (only name, password, both), the pop-up window, how to assign a value to a variable name from the primary to the java? "OK", and how to get the name of the main values ​​in java?
Recent study of this Activity, saw two acitivty transfer data using Bundle, AlertDialog and the main window also pass data using Bundle it?
<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
AlertDialog and the main window is not required bundle of data transfer. You can pass the value directly
Reply:
Thank you, I look to see
Reply:
Id go with AlertDialog ah ~
AlertDialog is part of the Activity.

No comments:

Post a Comment