The method used to get the data from an EditText is getText(). What does the getText() method returns? 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");