android get value edit text code example
Example 1: get text from edittext android
EditText myEditText = (EditText) findViewById(R.id.vnosEmaila);
String text = myEditText.getText().toString();
Example 2: java android edit text set value
EditText bookInput = (EditText)findViewById(R.id.book);
bookInput.setText("The Shining");