Android.API.Context.getFilesDir()
16lz
2021-01-23
1. Context.getFilesDir()
http://developer.android.com/reference/android/content/Context.html#getFilesDir()
"
Returns the absolute path to the directory on the filesystem where files created withopenFileOutput(String, int)
are stored.
No permissions are required to read or write to the returned path, since this path is internal storage.
Returns
The path of the directory holding application files.
"
getFilesDir()返回的路径类似:/data/data/com.diamondstudio.isport/
那么在debug时如何访问getFilesDir()返回的路径呢?
How to access data/data folder in Android device?
http://stackoverflow.com/questions/13006315/how-to-access-data-data-folder-in-a%E2%80%8C%E2%80%8Bndroid-device
adb shell / run-as
adb backup
更多相关文章
- android各种图片获取路径的方式
- Android将bitmap保存到自定义路径
- android 根据SD卡中图片路径读取并显示SD中的图片――源代码
- android读取SDCard任意路径下的文件
- Android之adt 23找不到NDK路径设置解决方案
- Android 模拟器中AVD路径的修改
- Android各版本 内外卡真实路径
- AVD(android virtual device)路径设置
- APK安装路径移动至外部存储设备