From ace28e65b5dd79dbde0eee69623f442b780026b6 Mon Sep 17 00:00:00 2001 From: fanhuitong <981964879@qq.com> Date: Tue, 28 Jun 2022 21:23:36 +0800 Subject: [PATCH] =?UTF-8?q?version:2.4=20beta=20fix:=20add:=E6=9B=B4?= =?UTF-8?q?=E6=8D=A2=E5=9C=B0=E5=9B=BEsdk=E4=B8=BA=E7=99=BE=E5=BA=A6?= =?UTF-8?q?=E5=9C=B0=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 4 +- app/src/main/AndroidManifest.xml | 84 +++-- app/src/main/assets/aria_config.xml | 2 +- .../main/java/com/uiui/sn/amap/AmapUtils.java | 119 ------ .../com/uiui/sn/base/BaseApplication.java | 3 +- .../java/com/uiui/sn/manager/AmapManager.java | 348 +++++++++++++++--- .../com/uiui/sn/receiver/BootReceiver.java | 18 +- .../com/uiui/sn/service/DownloadService.java | 2 +- 8 files changed, 358 insertions(+), 222 deletions(-) delete mode 100644 app/src/main/java/com/uiui/sn/amap/AmapUtils.java diff --git a/app/build.gradle b/app/build.gradle index c78ae3b..fd16bcd 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -235,7 +235,9 @@ dependencies { //腾讯移动推送 TPNS implementation 'com.tencent.tpns:tpns:1.3.2.0-release' //高德地图定位 - implementation 'com.amap.api:location:5.1.0' +// implementation 'com.amap.api:location:5.1.0' + //百度地图 + implementation 'com.baidu.lbsyun:BaiduMapSDK_Location:9.1.8' //工具类 implementation 'com.blankj:utilcodex:1.31.0' //autosize会改变第三方view的大小 diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 93efb2c..569b7f1 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -11,7 +11,6 @@ - @@ -22,6 +21,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -80,15 +86,15 @@ - - - + + + - - + + - + - + + + + diff --git a/app/src/main/assets/aria_config.xml b/app/src/main/assets/aria_config.xml index a85bbf6..881107f 100644 --- a/app/src/main/assets/aria_config.xml +++ b/app/src/main/assets/aria_config.xml @@ -32,7 +32,7 @@ 3、只对新的多线程下载任务有效 4、只对多线程的任务有效 --> - +