11.27获取安卓系统默认路径
2014-11-27 10:18
330 查看
系统默认路径获取:
转载:http://www.eoeandroid.com/thread-555094-1-1.html
Environment.getDataDirectory().getPath() : /data Environment.getDownloadCacheDirectory().getPath() : /cache Environment.getExternalStorageDirectory().getPath(): /mnt/sdcard Environment.getRootDirectory().getPath() : /system Context.getCacheDir().getPath() : /data/data/com.zhd/cache Context.getExternalCacheDir().getPath() : /mnt/sdcard/Android/data/com.zhd/cache Context.getFilesDir().getPath() : /data/data/com.zhd/files Context.getObbDir().getPath() : /mnt/sdcard/Android/obb/com.zhd Context.getPackageName() : com.zhd Context.getPackageCodePath() : /data/app/com.zhd-1.apk Context.getPackageResourcePath() : /data/app/com.zhd-1.apk |
相关文章推荐
- android 获取系统默认路径
- android 获取系统默认路径
- 安卓调用系统的图库选择图片并获取Uri路径
- 调用安卓系统文件管理获取文件路径
- android 获取系统默认路径
- android 获取系统默认路径
- 跨平台的文件路径书写方式 File.separator:获取与系统有关的默认名称分隔符
- Android 获取系统默认路径
- Android 获取系统默认路径
- Android 获取系统默认路径 .
- android 获取系统默认路径
- android 获取系统默认路径
- java获取系统路径
- 通过修改注册表来修改系统的默认安装路径
- 新打开窗口,MD5加密,实体类方式保存在Session中,获得系统根路径,分页,动态获取XML数据到页面
- 获取当前系统桌面路径(C# 代码)
- 获取当前正在执行的服务器应用程序根目录的物理文件系统路径
- 如何才能改变ORACLE9I 中系统默认的SPFILE 路径?
- 改变默认的tfs本地获取路径
- C#:获取Windows系统特殊文件夹的路径