DownloadManager.Request 设置存储路径的两个方法

来源:互联网 发布:vc6.0连接sql数据库 编辑:程序博客网 时间:2024/06/03 17:34
方法 存储路径 备注 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
阅读全文
0 0