I have written a code to record audio and save it to below file location.
private String getFilename() { String filepath = Environment.getExternalStorageDirectory().getPath(); File file = new File(filepath, AUDIO_RECORDER_FOLDER); if (!file.exists()) { file.mkdirs(); } return (file.getAbsolutePath() + "/" + System.currentTimeMillis() + file_exts[currentFormat]); }
In Logcat, it gives me a file location as
/storage/emulated/0/AudioRecorder/1436854479696.mp4
I am not able to find this file location on my SD card. How to access the location?
Go to the homepage. Select "Internal Storage". At the top of the screen, you will see that the path you are in is the storage/emulated/0 folder.
This simply means that /storage/emulated/0/ is a root directory, and you can not really access it. Accessing a file folder on either Internal or External Storage is the same as accessing /storage/emulated/0/ it; however, if you specifically wish to access it, there's another way you can do it.
Head to Settings > Storage > Other and you'll have a full list of all the files and folders on your internal storage. (If you'd prefer this file manager be more easily accessible, the Marshmallow File Manager app will add it as an icon to your home screen.)
My Android 6.0 allows me to browse the intern memory without the need for third party apps. I simply do this*:
* Words may not correspond to the standard English version ones, since I'm just freely translating them from Portuguese.
Note: At least in my phone, /storage/emulated/0
does not correspond to SD card, but to intern memory. This method did not work for my external card, but I never tried it with another phone.
Hope this helps!
Also you can use Android Debug Bridge (adb) to copy your file from Android device to folder on your PC:
adb pull /storage/emulated/0/AudioRecorder/1436854479696.mp4 <folder_on_your_PC_e.g. c:/temp>
And you can copy from device whole AudioRecorder
folder:
adb pull /storage/emulated/0/AudioRecorder <folder_on_your_PC_e.g. c:/temp>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With