title: android permissions to list assets subdirectory files
body: <p>I would like to list files contained into assets subdirectory called "subDir" and am using following code. However, if I set dirFrom = "" (empty), lists all folders in assets properly. However, for dirFrom = "/subDir/", doesn't work. I already tried "subDir/" and same result. Is necessary to declare permissions in manifest? Thank you. </p>
  
  <pre><code>private void copyFiles(String dirFrom, String dirTo) throws IOException {
  
      AssetManager am = getAssets();
  
      String fileList[] = am.list(dirFrom);
  
          if (fileList != null)
          {   
              for ( int i = 0;i&lt;fileList.length;i++)
              {   
                  Log.d("",fileList[i]); 
              }
          }
  
  }    
  </code></pre>