Skip to content

csatshell/android-MultiDownLoad

Repository files navigation

android版本更新多线程下载(无断点续传)

#使用方法: ##1,manifest配置 ###a,配置权限

###b,配置service

##2,开启下载 private void startDownloadAPK(String url) { String parentDir = ApkInfoManager.getApkParent(this); if(TextUtils.isEmpty(parentDir)){ Toast.makeText(this,"SD卡未挂载",Toast.LENGTH_SHORT).show(); return; } String apkName = ApkInfoManager.getApkName(); DownLoadEntity entity = new DownLoadEntity(url,parentDir,4,apkName); DownloadManager.getInstance().init(this,entity); }

About

android版本更新多线程下载

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages