在其他应用程序中,我可以访问像/storage/emulated/0/Android/data/com,xxx,yyy/files这样的目录中的文件
在我自己的应用程序中,我也想使用它。但是有了getApplicationInfo().dataDir,我得到了/data/user/0/com.xx.yy/files
如何接收到/storage...的路径以及如何创建这个目录(安装应用程序后它不是自动创建的)
发布于 2022-05-27 08:03:27
现在我发现是getExternalFilesDir(null).getAbsolutePath()干的
https://stackoverflow.com/questions/72381634
复制相似问题