definig string value of edittext code example
Example: java android edit text set value
EditText bookInput = (EditText)findViewById(R.id.book);
bookInput.setText("The Shining");
EditText bookInput = (EditText)findViewById(R.id.book);
bookInput.setText("The Shining");