Android 实现app自动升级

上传者: 29537611 | 上传时间: 2019-12-21 20:38:32 | 文件大小: 1.45MB | 文件类型: zip
使用android 自带的DownloadManager实现文件下载,兼容性强,代码简单

文件下载

资源详情

[{"title":"( 54 个子文件 1.45MB ) Android 实现app自动升级","children":[{"title":"AppUpdate-master","children":[{"title":"gradlew.bat <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"gradlew <span style='color:#111;'> 4.85KB </span>","children":null,"spread":false},{"title":"appupdate","children":[{"title":"proguard-rules.pro <span style='color:#111;'> 751B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"azhon","children":[{"title":"appupdate","children":[{"title":"ExampleUnitTest.java <span style='color:#111;'> 408B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"androidTest","children":[{"title":"java","children":[{"title":"com","children":[{"title":"azhon","children":[{"title":"appupdate","children":[{"title":"ExampleInstrumentedTest.java <span style='color:#111;'> 744B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"res","children":[{"title":"drawable","children":[{"title":"ic_dialog_close.png <span style='color:#111;'> 4.33KB </span>","children":null,"spread":false},{"title":"bg_white_radius_6.xml <span style='color:#111;'> 260B </span>","children":null,"spread":false},{"title":"ic_dialog_default.png <span style='color:#111;'> 54.19KB </span>","children":null,"spread":false}],"spread":true},{"title":"values","children":[{"title":"styles.xml <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false}],"spread":true},{"title":"layout","children":[{"title":"dialog_update.xml <span style='color:#111;'> 3.10KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"azhon","children":[{"title":"appupdate","children":[{"title":"config","children":[{"title":"UpdateConfiguration.java <span style='color:#111;'> 3.91KB </span>","children":null,"spread":false}],"spread":false},{"title":"manager","children":[{"title":"HttpDownloadManager.java <span style='color:#111;'> 8.37KB </span>","children":null,"spread":false},{"title":"DownloadManager.java <span style='color:#111;'> 7.19KB </span>","children":null,"spread":false}],"spread":false},{"title":"base","children":[{"title":"BaseHttpDownloadManager.java <span style='color:#111;'> 593B </span>","children":null,"spread":false}],"spread":false},{"title":"dialog","children":[{"title":"UpdateDialog.java <span style='color:#111;'> 4.73KB </span>","children":null,"spread":false}],"spread":false},{"title":"activity","children":[{"title":"PermissionActivity.java <span style='color:#111;'> 2.88KB </span>","children":null,"spread":false}],"spread":false},{"title":"service","children":[{"title":"DownloadService.java <span style='color:#111;'> 5.77KB </span>","children":null,"spread":false}],"spread":false},{"title":"utils","children":[{"title":"PermissionUtil.java <span style='color:#111;'> 2.12KB </span>","children":null,"spread":false},{"title":"ScreenUtil.java <span style='color:#111;'> 888B </span>","children":null,"spread":false},{"title":"LogUtil.java <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"FileUtil.java <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"Constant.java <span style='color:#111;'> 704B </span>","children":null,"spread":false},{"title":"NotificationUtil.java <span style='color:#111;'> 8.10KB </span>","children":null,"spread":false},{"title":"SharePreUtil.java <span style='color:#111;'> 4.10KB </span>","children":null,"spread":false},{"title":"ApkUtil.java <span style='color:#111;'> 2.31KB </span>","children":null,"spread":false}],"spread":false},{"title":"listener","children":[{"title":"OnButtonClickListener.java <span style='color:#111;'> 835B </span>","children":null,"spread":false},{"title":"OnDownloadListener.java <span style='color:#111;'> 734B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 720B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 7B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 3.52KB </span>","children":null,"spread":false}],"spread":true},{"title":"gradle.properties <span style='color:#111;'> 730B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 11.09KB </span>","children":null,"spread":false},{"title":"app","children":[{"title":"proguard-rules.pro <span style='color:#111;'> 751B </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"azhon","children":[{"title":"app","children":[{"title":"ExampleUnitTest.java <span style='color:#111;'> 391B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"androidTest","children":[{"title":"java","children":[{"title":"com","children":[{"title":"azhon","children":[{"title":"app","children":[{"title":"ExampleInstrumentedTest.java <span style='color:#111;'> 733B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"res","children":[{"title":"values","children":[{"title":"colors.xml <span style='color:#111;'> 208B </span>","children":null,"spread":false},{"title":"strings.xml <span style='color:#111;'> 75B </span>","children":null,"spread":false},{"title":"styles.xml <span style='color:#111;'> 383B </span>","children":null,"spread":false}],"spread":true},{"title":"mipmap-xxhdpi","children":[{"title":"ic_launcher.png <span style='color:#111;'> 33.30KB </span>","children":null,"spread":false},{"title":"ic_launcher_round.png <span style='color:#111;'> 38.22KB </span>","children":null,"spread":false}],"spread":false},{"title":"layout","children":[{"title":"activity_main.xml <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false}],"spread":false},{"title":"xml","children":[{"title":"file_paths_public.xml <span style='color:#111;'> 128B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"azhon","children":[{"title":"app","children":[{"title":"MainActivity.java <span style='color:#111;'> 6.24KB </span>","children":null,"spread":false},{"title":"MyDownload.java <span style='color:#111;'> 2.31KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true},{"title":"AndroidManifest.xml <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 7B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 951B </span>","children":null,"spread":false}],"spread":true},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.jar <span style='color:#111;'> 52.38KB </span>","children":null,"spread":false},{"title":"gradle-wrapper.properties <span style='color:#111;'> 230B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"apk","children":[{"title":"appupdate.apk <span style='color:#111;'> 1.56MB </span>","children":null,"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'> 152B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 5.86KB </span>","children":null,"spread":false},{"title":"settings.gradle <span style='color:#111;'> 29B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 686B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明