title: How app can access files on USB OTG storages in Android 6.0 (API level 23) without root?
body: <p>Android 6.0 Developer Preview (API level 23) can natively mounts external removable USB OTG storages out-of-the-box without any additional apps (for more info please see: <a href="https://www.androidpolice.com/2015/05/28/android-m-feature-spotlight-external-storage-can-be-adopted-as-true-internal-storage-or-accessed-normally-with-no-additional-apps/" rel="nofollow noreferrer">https://www.androidpolice.com/2015/05/28/android-m-feature-spotlight-external-storage-can-be-adopted-as-true-internal-storage-or-accessed-normally-with-no-additional-apps/</a>).</p>
  
  <p>When user connects USB OTG storage, it shows up in the system storage menu and it is accessible with the built-in file manager. User can access all files on the USB OTG external storage using the new built-in file manager without root rights.</p>
  
  <p>When I connect my USB OTG storage to my Android device, it mounts at <code>/storage/A03E-1DF5</code> and also at <code>/mnt/media_rw/A03E-1DF5</code>, but root rights required to access this folder.</p>
  
  <p>I'm working on Android media player app.</p>
  
  <p>Is it possible and how to access files on USB OTG storages on Android 6.0 in my app like the built-in file manager without root rights?</p>
  
  <p>P.S. I already use <code>checkSelfPermission</code> and <code>requestPermissions</code> functions in my app and my app already has <code>android.permission.READ_EXTERNAL_STORAGE</code> and <code>android.permission.WRITE_EXTERNAL_STORAGE</code> (for more info please see: <a href="https://www.androidpolice.com/2015/07/15/android-m-feature-spotlight-apps-now-need-your-permission-to-read-and-write-to-external-storage/" rel="nofollow noreferrer">https://www.androidpolice.com/2015/07/15/android-m-feature-spotlight-apps-now-need-your-permission-to-read-and-write-to-external-storage/</a>), but looks like these permissions only affects internal storages (MicroSD), and for USB OTG there is no such granular permission.</p>