|
|
@ -51,9 +51,10 @@ public class HttpDownloadModule extends BaseViewModule { |
|
|
|
//String url = AppUtil.getConfigValue(context, HTTP_URL_KEY, defUrl);
|
|
|
|
//String url = AppUtil.getConfigValue(context, HTTP_URL_KEY, defUrl);
|
|
|
|
//String url = "http://fdfs.speedata.cn:9989/group1/M00/00/05/rBGFrl3fdAKAVJwfMtSa9R18wLU139.zip";
|
|
|
|
//String url = "http://fdfs.speedata.cn:9989/group1/M00/00/05/rBGFrl3fdAKAVJwfMtSa9R18wLU139.zip";
|
|
|
|
//String url = "http://9.9.9.28:8088/files/update.zip";
|
|
|
|
//String url = "http://9.9.9.28:8088/files/update.zip";
|
|
|
|
String url = "https://y.qq.com/download/import/QQMusic-import-1.2.1.zip"; |
|
|
|
//String url = "https://y.qq.com/download/import/QQMusic-import-1.2.1.zip";
|
|
|
|
|
|
|
|
String url = "https://gitee.com/huang-junhua/iptv/raw/master/guonei.m3u8"; |
|
|
|
//String url = "https://static.runoob.com/images/demo/demo2.jpg";
|
|
|
|
//String url = "https://static.runoob.com/images/demo/demo2.jpg";
|
|
|
|
String filePath = "/mnt/sdcard/update.zip"; |
|
|
|
String filePath = "/mnt/sdcard/xxx.m3u8"; |
|
|
|
|
|
|
|
|
|
|
|
singDownloadInfo = Aria.download(context).getFirstDownloadEntity(url); |
|
|
|
singDownloadInfo = Aria.download(context).getFirstDownloadEntity(url); |
|
|
|
if (singDownloadInfo == null) { |
|
|
|
if (singDownloadInfo == null) { |
|
|
|