文件名称:DownloadImageZip
- 所属分类:
- android开发
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2016-06-24
- 文件大小:
- 1.43mb
- 下载次数:
- 0次
- 提 供 者:
- wangm******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
检测升级MD5校验zip下载文件实现思路是先从服务器自动检测更新zip包,如果有新版本,则立即下载更新。期间使用md5验证压缩包的完整性,更新完成后能够立即解压到定义的文件夹下。稍加修改,能改为升级apk应用,更新广告图片等功能。从网络下载一个文件,往往在使用之前需要先验证其文件的完整有效性,这个md5生成验证码的工具,就非常实用了。一个放入服务器端的报文中,另一个在代码中使用MD5检验,两边一对比,如果生成字串一致,那么即可说明文件是完整的。-Check the upgrade MD5 check zip download files to achieve the idea is to automatically detect updates the server zip package, if there is a new version, then download the update immediately. During the use of MD5 to verify the integrity of the compression package, the update is completed immediately after decompression to the definition of the folder. Slightly modified, can be changed to upgrade APK applications, and other functions to update the image of advertising. Download a file the network, often in the use of the need to verify the integrity of the file before the full validity of the MD5 code generation tools, it is very practical. A into the server-side message, the other one in code using MD5 test, a comparison on the two sides, if the generated string, then can be shown to file is complete.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
DownloadImageZipDemo
....................\.classpath
....................\.project
....................\.settings
....................\.........\org.eclipse.core.resources.prefs
....................\.........\org.eclipse.jdt.core.prefs
....................\AndroidManifest.xml
....................\assets
....................\......\imageZip_140415.zip
....................\......\version.json
....................\......\version.json.bak
....................\bin
....................\...\AndroidManifest.xml
....................\...\classes
....................\...\.......\com
....................\...\.......\...\example
....................\...\.......\...\.......\downloadimagezipdemo
....................\...\.......\...\.......\....................\BuildConfig.class
....................\...\.......\...\.......\....................\MainActivity.class
....................\...\.......\...\.......\....................\R$attr.class
....................\...\.......\...\.......\....................\R$dimen.class
....................\...\.......\...\.......\....................\R$drawable.class
....................\...\.......\...\.......\....................\R$id.class
....................\...\.......\...\.......\....................\R$layout.class
....................\...\.......\...\.......\....................\R$menu.class
....................\...\.......\...\.......\....................\R$string.class
....................\...\.......\...\.......\....................\R$style.class
....................\...\.......\...\.......\....................\R.class
....................\...\.......\...\.......\ImgageUpdate
....................\...\.......\...\.......\............\Constant.class
....................\...\.......\...\.......\............\CurrentVersion.class
....................\...\.......\...\.......\............\FileHelper.class
....................\...\.......\...\.......\............\GetUpdateInfo.class
....................\...\.......\...\.......\............\MD5.class
....................\...\.......\...\.......\............\QryUpdateInfoResp.class
....................\...\.......\...\.......\............\UpdateImageDownload$1.class
....................\...\.......\...\.......\............\UpdateImageDownload$2.class
....................\...\.......\...\.......\............\UpdateImageDownload$3.class
....................\...\.......\...\.......\............\UpdateImageDownload.class
....................\...\.......\...\.......\............\UpdateLogic.class
....................\...\.......\...\.......\............\UpdateNoticeActivity.class
....................\...\.......\...\.......\............\UpdateService$1.class
....................\...\.......\...\.......\............\UpdateService$2.class
....................\...\.......\...\.......\............\UpdateService.class
....................\...\classes.dex
....................\...\dexedLibs
....................\...\.........\android-support-v4-39cd0ceb0ff12d5ccdbcbe8dabfa8492.jar
....................\...\.........\android-support-v4-cdabbcce9879c3e025e400d0fd9a3567.jar
....................\...\.........\annotations-28e0d440ffae02fd40b6eb8dc327994c.jar
....................\...\.........\annotations-c30e8f9c582c00a597b9781bed9804da.jar
....................\...\DownloadImageZipDemo.apk
....................\...\jarlist.cache
....................\...\res
....................\...\...\crunch
....................\...\...\......\drawable-hdpi
....................\...\...\......\.............\ic_launcher.png
....................\...\...\......\drawable-mdpi
....................\...\...\......\.............\ic_launcher.png
....................\...\...\......\drawable-xhdpi
....................\...\...\......\..............\ic_launcher.png
....................\...\...\......\drawable-xxhdpi
....................\...\...\......\...............\ic_launcher.png
....................\...\resources.ap_
....................\gen
....................\...\com
....................\...\...\example
....................\...\...\.......\downloadimagezipdemo
....................\...\...\..