title: JSONObject.put(string,string) not working
body: <pre><code>String value = myInput.getText().toString();
  </code></pre>
  
  <p>I want to put string value into <code>JSONObject.put("STRING",value)</code> method but it's not working..</p>
  
  <p>See the attached screen shot and tell how to resolve this.</p>
  
  <p><a href="https://i.stack.imgur.com/J05ft.png" rel="noreferrer"><img src="https://i.stack.imgur.com/J05ft.png" alt="enter image description here"></a></p>