您的位置:首页 > 产品设计 > UI/UE

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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息