context.getExternalFilesDir(null).getAbsolutePath()
的获取结果:
/storage/sdcard0/Android/data/com.xx.xxx/files/
该目录下得文件不会被相册扫描到。
来自代码:https://git.oschina.net/yso/JingPai (静拍)
CaptureStatus类
本文介绍了静拍应用中使用context.getExternalFilesDir(null).getAbsolutePath()获取外部文件存储路径的方法,该路径指向Android应用的数据目录,且该目录下的文件不会被系统相册扫描到。
context.getExternalFilesDir(null).getAbsolutePath()
的获取结果:
/storage/sdcard0/Android/data/com.xx.xxx/files/
该目录下得文件不会被相册扫描到。
来自代码:https://git.oschina.net/yso/JingPai (静拍)
CaptureStatus类
1688

被折叠的 条评论
为什么被折叠?