title: Android: Cannot invoke toString() on the primitive type int
body: <p>If I try</p>
  
  <pre><code>nltxt = nllen.toString();
  </code></pre>
  
  <p>with <code>nllen</code> being</p>
  
  <pre><code>int nllen = nl.getLength();
  </code></pre>
  
  <p>I get the error</p>
  
  <blockquote>
    <p>Cannot invoke <code>toString()</code> on the primitive type int.</p>
  </blockquote>
  
  <p>I want to convert the int to string so i can display the number of entries with Log...
  Why doesn't it work?</p>