No need for third party appsMy Android 6.0 allows me to browse the intern memory without the need for third party apps. I simply do this.:. 'Settings'. 'Storage and USB'. 'Intern'. let it load a bit.
scroll all the way down. 'Browse'. 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! In my case, /storage/emulated/0/ corresponds to my device's root path. For example, when i take a photo with my phone's default camera application, the images are saved automatically /store/emulated/0/DCIM/Camera/mypicname.jpegFor example, suppose that you want to store your pictures in /Pictures directory, namely in Pictures directory which exist in root directory.
So you use the below code. File storageDir = Environment.getExternalStoragePublicDirectory( Environment.DIRECTORYPICTURES );If you want to save the images in DCIM or Downloads directory, give the below arguments to the Environment.getExternalStoragePublicDirectory method shown above. Environment.DIRECTORYDCIMEnvironment.DIRECTORYDownloadsThen specify your image name: String imageFileName = 'JPEG' + timeStamp + ';Then create the file object as shown below. You specify the suffix as the 2nd argument. File image = File.createTempFile(imageFileName, // prefix'.jpg', // suffixstorageDir // directory).
Mr Expensive Toys said:Am amazed that this problem is still showing up as it started happening as far back as Honeycomb.So, the /storage/emulated/0/DCIM/Camera is the same folder as your normal DCIM/Camera folder. Its just a symlink. So the files are actually in the right location you just have an app that put bad data into the MediaStore Database.When accessing files from your PC your are actually enumerating the MediaStorage database for files. Its not pulling a traditional directory lists. So what you see is based on what is in that database and the path entries in the database.
Files in the database pointing to emulated directories aren't shown as they are assumed to be duplicates as its the same physical directory as your normal DCIM/Camera. What is going on is that some poorly written third party apps are inserting entries into the database with the /storage/emulated/0/DCIM/Camera path instead of the proper root path to DCIM/Camera.
One of many ways to address regular internal storage is'/storage/emulated/0'I guess that means that the '0' must be the 'Phone' mount point whichshows up when I plug in an Android device onto a PC by USB cable.So, for example, the 'Phone/Download' folder at the top level of thatmount point must really be at '/storage/emulated/0/Download', with the '0'taking the place of the 'Phone' mount point.Likewise with the digital camera directory 'Phone/DCIM', which would beat '/storage/emulated/0/DCIM' and the 'Phone/Pictures/Screenshots'directory at '/storage/emulated/0/Pictures/Screenshots'.