简体   繁体   English

Android设备上的file:/// storage / emulated / 0路径

[英]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. 我正在为Android应用开发文件浏览器,并希望将此路径用作默认路径。 Are all android devices have following path by default? 默认情况下,所有android设备都具有以下路径吗?

file:///storage/emulated/0

每个文档使用getExternalStorageDirectory()

First time I hear about it. 我第一次听说。 How about you follow the lead from Astro and use the external storage path as the default? 您如何遵循Astro的指导,并使用外部存储路径作为默认路径? Lacking that, use /. 如果没有,请使用/。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 FileSystemException:无法打开文件,路径 = '目录:'/storage/emulated/0/Android/data/ - FileSystemException: Cannot open file, path = 'Directory: '/storage/emulated/0/Android/data/ 如何在Android 6上获得模拟的存储路径? - How to get emulated storage path on Android 6? Android - 无法打开内容:file:///storage/emulated/0 - Android - Unable to open content: file:///storage/emulated/0 如何获取 Android 10 及更高版本的路径 /storage/emulated/0/Download/file_name.mime_type - How to get path /storage/emulated/0/Download/file_name.mime_type for Android 10 and above 模拟外部存储android - emulated external storage android FileNotFoundException:/ storage / emulated / 0 / Android - FileNotFoundException: /storage/emulated/0/Android 无法播放路径中的视频 (/storage/emulated/0/Android/data/com...) - Could not play video in the path (/storage/emulated/0/Android/data/com…) 不支持的路径 storage/emulated/0/test - Unsupported path storage/emulated/0/test 如何在android中创建外部存储目录,将外部存储路径显示为“storage / emulated / 0”? - How to create directory in external storage in android which show external storage path as “storage/emulated/0”? 访问存储在android中的/ storage / emulated / 0目录中的文件时出现FileNotFoundException - FileNotFoundException when accessing file stored at /storage/emulated/0 directory in android
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM