title: Access or list non media content from Download folder using SAF (Storage Access Framework)
body: <p>I am trying to list <strong>non-media</strong> content from <strong>Download</strong> folder using <strong>SAF</strong>.</p>
  <p>Sample Code:</p>
  <pre><code>public void openDirectory(Uri uriToLoad) {
      // Choose a directory using the system's file picker.
      Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT_TREE);
  
      // Provide read access to files and sub-directories in the user-selected
      // directory.
      intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
  
      // Optionally, specify a URI for the directory that should be opened in
      // the system file picker when it loads.
      intent.putExtra(EXTRA_INITIAL_URI, uriToLoad);
  
      startActivityForResult(intent, 500);
  }
  </code></pre>
  <p>But when i open the Download Folder using SAF i see the &quot;use this folder&quot; button is disable.</p>
  <p>I also noticed from the android documents they introduced new MediaStore.Download</p>
  <p><a href="https://developer.android.com/reference/android/provider/MediaStore.Downloads" rel="nofollow noreferrer">https://developer.android.com/reference/android/provider/MediaStore.Downloads</a></p>
  <p>i tried to use but i see the cursor count is zero. When should we use the above api ?</p>