Android外置存储:有什么区别?

时间:2017-10-04 10:39:40

标签: android storage

我想找到外部存储的路径,所以我使用以下内容:

File[] dirs = ContextCompat.getExternalFilesDirs(this, null);

在返回时我得到了数组:

dir[0] = "/storage/emulated/0/Android/data/com.example.proj/files/"
dir[1] = "/storage/12FE-350D/Android/data/com.example.proj/files/"

这两个项目有什么区别? 如果我想存储图像,哪一个更好用?

感谢您的一些亮点。

0 个答案:

没有答案