android 一些路径的标准写法
2012-05-19 17:09
323 查看
一些路径的标准写法
Environment.getDataDirectory() = /data
Environment.getDownloadCacheDirectory() = /cache
Environment.getExternalStorageDirectory() = /mnt/sdcard
Environment.getRootDirectory() = /system
context.getCacheDir() = /data/data/com.mt.mtpp/cache
context.getExternalCacheDir() = /mnt/sdcard/Android/data/com.mt.mtpp/cache
context.getFilesDir() = /data/data/com.mt.mtpp/files
Environment.getDataDirectory() = /data
Environment.getDownloadCacheDirectory() = /cache
Environment.getExternalStorageDirectory() = /mnt/sdcard
Environment.getRootDirectory() = /system
context.getCacheDir() = /data/data/com.mt.mtpp/cache
context.getExternalCacheDir() = /mnt/sdcard/Android/data/com.mt.mtpp/cache
context.getFilesDir() = /data/data/com.mt.mtpp/files
相关文章推荐
- android 一些路径的标准写法
- Android标准目录的路径
- 解析Android中应用程序文件存储用得到的一些文件路径
- 一些有关Android图片的操作,判断方向,旋转,根据uri获取绝对路径,缩放与移动
- 学习中的一些牢骚。字符串栈/堆的址标准写法。
- android 启动程序的一些标准方法
- Android状态栏标准写法
- android 获取一些系统指定路径的方法整理
- Intent打开Android提供的一些标准Activity
- Android中调用系统摄像并且保存到指定位置的一些问题&Uri转文件路径方法
- Android Fragment的标准写法
- android 数据库开启事务 标准写法
- android 获取SD 卡路径的一些代码
- Android Fragment的标准写法
- 关于android中尺寸的获取,获取自定义属性值, 切换状态的标准写法
- 有关 Form 的一些代码的标准写法
- 有关 Form 的一些代码的标准写法
- android中layout_weight的用法(比例、算法、换行、标准写法等)
- Android 高版本可以使用的一些简洁代码写法
- android源码的一些文件路径