title: android - how to convert int to string and place it in a EditText?
body: <p>I have this piece of code:</p>
  
  <pre><code>ed = (EditText) findViewById (R.id.box); 
  int x = 10; 
  ed.setText (x);
  </code></pre>
  
  <p>It turns out to be an error. I know I have to change it to string, but how do I do this?</p>
  
  <p>I've tried <code>x.toString()</code>, but it can't be compiled.</p>