What I wanna do:
I wanna get the path as a String of a file, which I choose via an Android File Manager.
What I have:
Intent intent = new Intent(Intent.ACTION_GET_CONTENT);
intent.setType("*/*");
startActivityForResult(Intent.createChooser(intent, "Open with ..."), FILE_SELECT_CODE);
This code, works nearly fine for me, but there is one problem. I can only select my file with the following apps:
My Question:
Does anyone have a working code for choosing any file via the Android File Manager?
So for my Samsung device this worked:
Use this:
For samsung devices to open file manager use this:
For more reference checkout http://developer.android.com/guide/topics/providers/document-provider.html