文件名称:smart_breakpointDownload
介绍说明--下载内容均来自于网络,请自行研究使用
android多线程断点下载,通过本Android下载实例,可了解到以下知识技巧:实时得到文件下载的长度,设置获取实体数据的范围、获取文件已下载文件长度、原始文件长度、线程数、本地保存文件、缓存各线程下载的长度、每条线程下载的长度、获取线程数、获取文件大孝更新指定线程最后下载的位置、构建文件下载器、保存记录文件、根据响应获取文件大孝监听下载数量的变化,如果不需要了解实时下载的数量,可以设置为null、循环判断是否下载完毕等基础知识。
这里请注意,对于UI控件的更新只能由主线程(UI线程)负责,如果在非UI线程更新UI控件,更新的结果不会反映在屏幕上,某些控件还会出错。-android multithreading breakpoint download through the Android download instance, can learn skills that: real-time file download length range of settings to get the entity data, get the file to download the file length, the length of the original file, the number of threads, saved locally files, download cache each thread length, the length of each thread download, get the number of threads, access to the location of the the file large Hyo update the specified thread last download, build file download, save the log file to get the file size, based on the response to monitor the number of downloads changes in, if you do not need to know the number of real-time download, can be set to null, cycle to determine whether downloaded basics. Note here, update UI controls can only be responsible for the main thread (UI thread), if the non-UI thread to update UI controls, updated results will not reflect on the screen, some controls will go wrong.
这里请注意,对于UI控件的更新只能由主线程(UI线程)负责,如果在非UI线程更新UI控件,更新的结果不会反映在屏幕上,某些控件还会出错。-android multithreading breakpoint download through the Android download instance, can learn skills that: real-time file download length range of settings to get the entity data, get the file to download the file length, the length of the original file, the number of threads, saved locally files, download cache each thread length, the length of each thread download, get the number of threads, access to the location of the the file large Hyo update the specified thread last download, build file download, save the log file to get the file size, based on the response to monitor the number of downloads changes in, if you do not need to know the number of real-time download, can be set to null, cycle to determine whether downloaded basics. Note here, update UI controls can only be responsible for the main thread (UI thread), if the non-UI thread to update UI controls, updated results will not reflect on the screen, some controls will go wrong.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
smart_breakpointDownload\.classpath
........................\.project
........................\AndroidManifest.xml
........................\bin\classes.dex
........................\...\.om\smart\activoty\download\R$attr.class
........................\...\...\.....\........\........\R$drawable.class
........................\...\...\.....\........\........\R$id.class
........................\...\...\.....\........\........\R$layout.class
........................\...\...\.....\........\........\R$string.class
........................\...\...\.....\........\........\R.class
........................\...\...\.....\........\........\SmartDownloadActivity$1.class
........................\...\...\.....\........\........\SmartDownloadActivity$2.class
........................\...\...\.....\........\........\SmartDownloadActivity$3$1.class
........................\...\...\.....\........\........\SmartDownloadActivity$3.class
........................\...\...\.....\........\........\SmartDownloadActivity.class
........................\...\...\.....\db\DBOpenHelper.class
........................\...\...\.....\..\FileService.class
........................\...\...\.....\impl\SmartDownloadProgressListener.class
........................\...\...\.....\....\SmartDownloadThread.class
........................\...\...\.....\....\SmartFileDownloader.class
........................\...\resources.ap_
........................\...\smart_breakpointDownload.apk
........................\default.properties
........................\gen\com\smart\activoty\download\R.java
........................\proguard.cfg
........................\res\drawable-hdpi\icon.png
........................\...\.........ldpi\icon.png
........................\...\.........mdpi\icon.png
........................\...\layout\main.xml
........................\...\values\strings.xml
........................\src\com\smart\activoty\download\SmartDownloadActivity.java
........................\...\...\.....\db\DBOpenHelper.java
........................\...\...\.....\..\FileService.java
........................\...\...\.....\impl\SmartDownloadProgressListener.java
........................\...\...\.....\....\SmartDownloadThread.java
........................\...\...\.....\....\SmartFileDownloader.java
........................\bin\com\smart\activoty\download
........................\gen\com\smart\activoty\download
........................\src\com\smart\activoty\download
........................\bin\com\smart\activoty
........................\...\...\.....\db
........................\...\...\.....\impl
........................\gen\com\smart\activoty
........................\src\com\smart\activoty
........................\...\...\.....\db
........................\...\...\.....\impl
........................\bin\com\smart
........................\gen\com\smart
........................\src\com\smart
........................\bin\com
........................\gen\com
........................\res\drawable-hdpi
........................\...\drawable-ldpi
........................\...\drawable-mdpi
........................\...\layout
........................\...\values
........................\src\com
........................\assets
........................\bin
........................\gen
........................\res
........................\src
smart_breakpointDownload