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

更多相关文章

  1. android 返回键 退出
  2. android各种图片获取路径的方式
  3. android input系统如何导入kl文件
  4. Android下免Root权限截屏
  5. android 127.0.0.1/localhost connection refused 问题的
  6. android中的http访问方式
  7. AVD(android virtual device)路径设置
  8. Android环境变量的设置
  9. Android(安卓)页面跳转(无/含有返回结果)

随机推荐

  1. H5案例分享:使用JS判断客户端、浏览器、操
  2. openCV人脸识别移植到Android
  3. Android 屏幕操作原理
  4. Android View框架的draw机制
  5. Android(安卓)Q适配(3)-------唯一标识符篇
  6. Flutter学习笔记
  7. Android(安卓)百度地图 计算两点之间的距
  8. Android读取文件方法总结
  9. Android使用PULL解析和生成XML文件
  10. om.android.builder.model.SourceProvide