I have installed different types of File Manager. The different Types of File Managers are
- Default File Manager
- ASTRO-File-Manager-v3.1.342.apk(Astro)
- FileManager-1.2.apk(OI File Manager)
- Root-Browser-File-Manager-v1.4.0.apk(Root Browser)
Code :
File filePath = new File(Environment.getExternalStorageDirectory().getAbsolutePath()+"/Pictures");
Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
intent.setDataAndType(Uri.parse("file:/"+filePath.getAbsolutePath()), "file/*");
startActivityForResult(intent,PICKFILE_RESULT_CODE);
When I can select Astro File Manager
, Root Browser
, Default File Manager
I got the location path as /mnt/sdcard
.
But when I access the OI File Manager
I got the location path as /mnt/sdcard/Pictures
.
How do get and open to different types of File Manager to access the location path as /mnt/sdcard/Pictures