title: get the names of txt files from assets folder into a list
body: <p>I'm trying to get a list of the name of txt files stored in my assets folder but when i call </p>
  
  <p><code>String[] files = assetManager.list("/assets");</code></p>
  
  <p>i get an exception</p>
  
  <pre><code>01-13 15:48:44.819: E/AndroidRuntime(6754): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.readd/com.example.readd.MainActivity}: 
  </code></pre>
  
  <p>i suppose i have and error with the parameter "/assets" in list("/assets")., but dont have idea how to solve it.</p>
  
  <p><strong>EDIT</strong> in my assets folder i got just raw files without subfolders </p>
  
  <p>text1.txt</p>
  
  <p>text2.txt</p>
  
  <p>text3.txt</p>
  
  <p>i've try also assetManager.list(""); but when i try to set a txtView with the name of the(lets say) first file tt.setText(files[0]);, it give's me images as a result, and i dont have file like that in my assets</p>
  
  <p><strong>EDIT2</strong></p>
  
  <pre><code>            AssetManager assetManager = getApplicationContext().getAssets();
      try {
  
          String[] files = assetManager.list("");
  
          InputStream stream = getAssets().open("text1.txt");
  
          tt.setText(files[0]);//here i get images(as String not real images) as result
          }
  </code></pre>