DownloadManager.Request 设置存储路径的两个方法
2017-08-23 23:48
429 查看
方法 | 存储路径 | 备注 |
---|---|---|
setDestinationInExternalFilesDir (Context context, String dirType, String subPath) | /storage/emulated/0/ Android/data/ packgeName/files/ | 注意dirType是在前路径添加,不需要是传null |
setDestinationInExternalPublicDir (String dirType, String subPath) | /storage/emulated/0/ | dirType作用同上,不能为null |
相关文章推荐
- Android 获取本地存储路径的各种方法详解
- [转]Sys.WebForms.PageRequestManagerParserErrorException的解决方法
- Sys.WebForms.PageRequestManagerParserErrorException解决方法之一
- keil4中头文件路径设置的方法汇总
- Asp.net让某一页的requestEncoding设置成gb2312或utf-8的方法
- C#调用SQL 存储过程的两个方法
- Request的关于路径的方法详解
- php计算两个文件相对路径的方法
- Path.Combine (合并两个路径字符串)方法的一些使用细节
- Android RecyclerView使用GridLayoutManager间距设置的方法
- Linux动态库(.so)搜索路径(目录)设置方法
- 在 Intellij IDEA中设置Maven 路径及配置文件的方法(使用阿里云Maven源)
- 关于HttpWebRequest和HttpWebResponse的两个自定义方法
- 数据在沙盒中存储的三种方法---plist存储,偏好设置存储,归档
- Opencv学习笔记-----FilePath的相对路径设置方法
- 设置相对路径的方法
- 两个文件中的配置项设置方法和C比较程序处理
- 阿里云存储中,下载文件时设置文件名的方法
- .Net语言 APP开发平台——Smobiler学习日志:获取或存储图像路径设置