0

I'm kinda new here, so my question is simple as you can see... This is my code in the onCreate():
first_name_editText= (EditText)findViewById(R.id.first_name);
I've defined all the veriables. What's next? How do I convert the input into my variable?

4

1 に答える 1

0

次のコードで編集テキストの値を取得できます。

String fname=first_name_editText.getText().toString();
于 2013-08-29T14:15:33.640 に答える