Qvatra
Qvatra

Reputation: 3857

file:///storage/emulated/0 path on android device

I'm developing a file explorer for android app and want to use this path as default. Are all android devices have following path by default?

file:///storage/emulated/0

Upvotes: 2

Views: 15585

Answers (2)

323go
323go

Reputation: 14274

Use getExternalStorageDirectory() per documentation.

Upvotes: 5

Seva Alekseyev
Seva Alekseyev

Reputation: 61386

First time I hear about it. How about you follow the lead from Astro and use the external storage path as the default? Lacking that, use /.

Upvotes: 0

Related Questions