.
:
File file1 = new File("/mnt/sdcard/photos/20397a.jpg");
File sdDir = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES);
/storage/emulated/0/Picture
Environment.DIRECTORY_PICTURES SD-.
20397a.jpg, .
And if you want to see other content other than images, then change ` image/jpg` to ' image/*'
source
share