Vikasdeep Singh
Vikasdeep Singh

Reputation: 21756

Android, can we find path for primary and secondary external storage programatically?

Is there any API or any way to find out paths for primary and secondary external storage separately?

Please let me know. Thanks in advance.

Upvotes: 1

Views: 743

Answers (1)

Nikolay Elenkov
Nikolay Elenkov

Reputation: 52936

No. 'Secondary external storage' is not standard (vendor extension). There are some environment variables that might be useful, but that is device/version/dependent. You can always check what is currently mounted and go from there.

Upvotes: 5

Related Questions