In the following code is it possible to convert long datatype into string datatype?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/5071040/java-convert-number-to-string">Java - Convert number to string</a>  </p>
</blockquote>



<pre><code>private String getHome() {
    String defaultHome = Environment.getExternalStorageDirectory().getAbsolutePath(); 

    File f = new File("/sdcard/download");

    File[] files = f.listFiles();

   for(int i=0; i &lt; files.length; i++)
    {
        File file = files[i];
        //take the file name only
    long size = file.length()/1024;
    String path = file.getPath().substring(file.getPath().lastIndexOf("/")+1,file.getPath().length()).toLowerCase(); 
    String newString = size.toString();



    //String path = getSharedPreferences(PREF_TAG, 0).getString(PREF_HOME,defaultHome);
    //if (path.length()&gt;1 &amp;&amp; path.endsWith("/")) {
    //  path = path.substring(0,path.length()-2);
    //}


    //File pathFile = new File(path);

    if (file.exists() &amp;&amp; file.isDirectory())
        return path+size;
    else
        return defaultHome+size;
    }
   return defaultHome;
}
</code></pre>
