title: Recursively file search not working
body: <p>What i wanna do is to recursively search for some files on the <em>external sd-card</em>. The problem is that the code is looking ok, but (assuming <code>.txt</code> files) it only shows me 7 files out of <strong>100+</strong> that are being spread throughout folders.</p>
  
  <p>The code is this:</p>
  
  <pre><code>file = new File(Environment.getExternalStorageDirectory().getAbsolutePath());
      void makelist(File file){
          if(file.isFile()){
              if(SimpleAdapter.getFileType(file)==null) 
                         mis.add(file);
              else if(SimpleAdapter.getFileType(file).equalsIgnoreCase("text"))  
                         doc.add(file);
          }else if(file.isDirectory()){
              for(File f:file.listFiles())
                  makelist(f);
          }
      }
  </code></pre>
  
  <p>Any idea how could i make it run correctly?</p>