title: How to read data from "com.sec.android.gallary3d" folder?
body: <p>I am working on app that is required to read the recover to deleted data. I search a lot but could not find a single solution.
  Then I got to know that there is a director "com.sec.android.gallery3d" where all images are saved in small thumbnails. 
  My question can I read images?
  I checked this sample code. But its only reading those directories which is public like DCIM, notification,Down etc</p>
  
  <pre><code>File file=Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DCIM);
  
  public ArrayList&lt;File&gt; listf(File xfile, ArrayList&lt;File&gt; files) {
  
  
      // get all the files from a directory
      File[] fList = xfile.listFiles();
      for (File file : fList) {
          if (file.isFile()) {
              files.add(file);
          } else if (file.isDirectory()) {
              listf(file, files);
          }
      }
      return files;
  }```
  </code></pre>