Open pratikbutani opened 10 years ago
Hi! Did you solve this case?
Did anyone solve this issue ??
One way is just start browsing at root "/" instead of getExternalStorageDirectory(),
and let the user browse to the secondary sd card path (not really too good, since many users won't know where it is). This won't work on Android 7.0 though as you can't view the root directory.
There are various posts on stackoverflow on how to get paths to the primary and secondary storages, though none I have found are very good (they are all hackey). File explorer apps seem to be able to do it though, so if you found a reliable way you could make it so "Choose A File" loaded the paths to all the storages at the top directory instead of getExternalStorageDirectory()
How did you solve the problem
Is there any way to use both External and Internal both path. how to achieve on Click of "Selelct a File"