Can't access own app's files on computer
<p>I have an app that writes files to the shared storage via <code>getExternalStorageDirectory()</code>. My problem is accessing and copying the files to a computer:</p>

<p>I can access these files from the computer if the phone has an SD card (tested on a Galaxy S5). However, I cannot access these files if the phone does not have an SD card (tested on a Nexus 5X). Strangely, I can view my app's files from the phone in <strong>both</strong> cases.</p>

<p>Am I using the wrong method to get the base directory? Or is it the phone? All I need is for the files to be copied from the phone to the computer. Any help is appreciated.</p>

<p>Note: Both running Android 6.0.1 if that helps.</p>