This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,8 +1,11 @@
|
||||
## 开发日志
|
||||
+ v_3.6.3 (2019/4/2)
|
||||
- fix bug https://github.com/AriaLyy/Aria/issues/377
|
||||
+ v_3.6.2 (2019/4/1)
|
||||
- fix bug https://github.com/AriaLyy/Aria/issues/368
|
||||
- 增加gradle 5.0支持
|
||||
- fix bug https://github.com/AriaLyy/Aria/issues/374
|
||||
- 增加分页功能,详情见:https://aria.laoyuyu.me/aria_doc/api/task_list.html#%E4%BB%BB%E5%8A%A1%E5%88%97%E8%A1%A8%E5%88%86%E9%A1%B5%EF%BC%88362%E4%BB%A5%E4%B8%8A%E7%89%88%E6%9C%AC%E6%94%AF%E6%8C%81%EF%BC%89
|
||||
+ v_3.6.1 (2019/3/5)
|
||||
- fix bug https://github.com/AriaLyy/Aria/issues/367
|
||||
+ v_3.6 (2019/2/27)
|
||||
|
||||
14
README.md
14
README.md
@@ -33,8 +33,8 @@ Aria有以下特点:
|
||||
[](https://bintray.com/arialyy/maven/AriaCompiler/_latestVersion)
|
||||
|
||||
```java
|
||||
compile 'com.arialyy.aria:aria-core:3.6.2'
|
||||
annotationProcessor 'com.arialyy.aria:aria-compiler:3.6.2'
|
||||
compile 'com.arialyy.aria:aria-core:3.6.3'
|
||||
annotationProcessor 'com.arialyy.aria:aria-compiler:3.6.3'
|
||||
```
|
||||
如果出现android support依赖错误,请将 `compile 'com.arialyy.aria:aria-core:<last-version>'`替换为
|
||||
```
|
||||
@@ -104,10 +104,12 @@ protected void onCreate(Bundle savedInstanceState) {
|
||||
|
||||
|
||||
### 版本日志
|
||||
+ v_3.6.2 (2019/4/1)
|
||||
- fix bug https://github.com/AriaLyy/Aria/issues/368
|
||||
- 增加gradle 5.0支持
|
||||
- fix bug https://github.com/AriaLyy/Aria/issues/374
|
||||
* v3.6.3 (2019/4/2)
|
||||
- fix bug https://github.com/AriaLyy/Aria/issues/368
|
||||
- 增加gradle 5.0支持
|
||||
- fix bug https://github.com/AriaLyy/Aria/issues/374
|
||||
- fix bug https://github.com/AriaLyy/Aria/issues/377
|
||||
- 增加分页获取任务列表api, 详情见:https://aria.laoyuyu.me/aria_doc/api/task_list.html#%E4%BB%BB%E5%8A%A1%E5%88%97%E8%A1%A8%E5%88%86%E9%A1%B5%EF%BC%88362%E4%BB%A5%E4%B8%8A%E7%89%88%E6%9C%AC%E6%94%AF%E6%8C%81%EF%BC%89
|
||||
|
||||
[更多版本记录](https://github.com/AriaLyy/Aria/blob/master/DEV_LOG.md)
|
||||
|
||||
|
||||
@@ -20,6 +20,7 @@ import android.content.BroadcastReceiver;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.os.Environment;
|
||||
import android.util.Log;
|
||||
import android.view.Menu;
|
||||
import android.view.MenuItem;
|
||||
@@ -290,9 +291,9 @@ public class SingleTaskActivity extends BaseActivity<ActivitySingleBinding> {
|
||||
public void onClick(View view) {
|
||||
switch (view.getId()) {
|
||||
case R.id.start:
|
||||
//startD();
|
||||
List<DownloadEntity> list = Aria.download(this).getAllNotCompleteTask(5, 2);
|
||||
ALog.d("Tag", list.size() + "");
|
||||
startD();
|
||||
//List<DownloadEntity> list = Aria.download(this).getAllNotCompleteTask(5, 2);
|
||||
//ALog.d("Tag", list.size() + "");
|
||||
break;
|
||||
case R.id.stop:
|
||||
Aria.download(this).load(DOWNLOAD_URL).stop();
|
||||
@@ -313,8 +314,8 @@ public class SingleTaskActivity extends BaseActivity<ActivitySingleBinding> {
|
||||
private void startD() {
|
||||
//Aria.get(this).setLogLevel(ALog.LOG_CLOSE);
|
||||
//Aria.download(this).load("aaaa.apk");
|
||||
//String path = Environment.getExternalStorageDirectory().getPath() + "/ggsg11.ota";
|
||||
String path = String.format("/sdcard/ggsg11(%s).mp4", i);
|
||||
String path = Environment.getExternalStorageDirectory().getAbsolutePath() + "/ggsg11.mp4";
|
||||
//String path = String.format("/sdcard/ggsg11(%s).mp4", i);
|
||||
//if (new File(path).exists()) {
|
||||
//
|
||||
// i++;
|
||||
@@ -343,7 +344,7 @@ public class SingleTaskActivity extends BaseActivity<ActivitySingleBinding> {
|
||||
// + "\"id\":\"你的样子\"\n< > "
|
||||
// + "}")
|
||||
//.resetState()
|
||||
.save();
|
||||
.start();
|
||||
//.add();
|
||||
}
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ task clean(type: Delete) {
|
||||
ext {
|
||||
userOrg = 'arialyy'
|
||||
groupId = 'com.arialyy.aria'
|
||||
publishVersion = '3.6.2'
|
||||
publishVersion = '3.6.3'
|
||||
// publishVersion = '1.0.4' //FTP插件
|
||||
repoName='maven'
|
||||
desc = 'android 下载框架'
|
||||
|
||||
Reference in New Issue
Block a user