title: How can I get the value from EditText in android?
body: <p>I'm having one <code>EditText</code> in <code>android</code> in which I want the user to enter the text I'll store the db. But, here I am not able to get the value from <code>EditText</code>. </p>
  
  <p><strong>Here is my code,</strong></p>
  
  <pre><code>EditText etUserInfoNewValue = (EditText)findViewById(R.id.etUserInfoNewVal);    
  String newValue = etUserInfoNewValue.getText().toString().trim();
  </code></pre>
  
  <p>How can I get the value from this <code>EditText</code>?</p>