找回密码
 立即注册
breakpointDownlosmartdownloadactivoty | android开发 2022-10-27 43 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
很多时候我们需要在Android设备上下载远程服务器上的文件进安装,前两天黑夜我看到一个视频,写了两个黑夜,大约理解一下。直接通过Android提供的Http类访问远程服务器,这儿AndroidHttpClient是SDK2.2中新出的方法,下载断点文件。下面让我们看一下图先。
smart_breakpointDownload\bin\com\smart\activoty\download\R$attr.class
smart_breakpointDownload\bin\com\smart\activoty\download\R$drawable.class
smart_breakpointDownload\bin\com\smart\activoty\download\R$id.class
smart_breakpointDownload\bin\com\smart\activoty\download\R$layout.class
smart_breakpointDownload\bin\com\smart\activoty\download\R$string.class
smart_breakpointDownload\bin\com\smart\activoty\download\R.class
smart_breakpointDownload\bin\com\smart\activoty\download\SmartDownloadActivity$1.class
smart_breakpointDownload\bin\com\smart\activoty\download\SmartDownloadActivity$2.class
smart_breakpointDownload\bin\com\smart\activoty\download\SmartDownloadActivity$3$1.class
smart_breakpointDownload\bin\com\smart\activoty\download\SmartDownloadActivity$3.class
smart_breakpointDownload\bin\com\smart\activoty\download\SmartDownloadActivity.class
smart_breakpointDownload\bin\com\smart\db\DBOpenHelper.class
smart_breakpointDownload\bin\com\smart\db\FileService.class
smart_breakpointDownload\bin\com\smart\impl\SmartDownloadProgressListener.class
smart_breakpointDownload\bin\com\smart\impl\SmartDownloadThread.class
smart_breakpointDownload\bin\com\smart\impl\SmartFileDownloader.class
smart_breakpointDownload\bin\classes.dex
smart_breakpointDownload\bin\resources.ap_
smart_breakpointDownload\bin\smart_breakpointDownload.apk
smart_breakpointDownload\gen\com\smart\activoty\download\R.java
smart_breakpointDownload\res\drawable-hdpi\icon.png
smart_breakpointDownload\res\drawable-ldpi\icon.png
smart_breakpointDownload\res\drawable-mdpi\icon.png
smart_breakpointDownload\res\layout\main.xml
smart_breakpointDownload\res\values\strings.xml
smart_breakpointDownload\src\com\smart\activoty\download\SmartDownloadActivity.java
smart_breakpointDownload\src\com\smart\db\DBOpenHelper.java
smart_breakpointDownload\src\com\smart\db\FileService.java
smart_breakpointDownload\src\com\smart\impl\SmartDownloadProgressListener.java
smart_breakpointDownload\src\com\smart\impl\SmartDownloadThread.java
.....太多文件了省略.....

(Most of the time, we need to download files from remote servers on Android devices for installation. I saw a video two nights ago and wrote about it. Access the remote server directly through the Http class provided by Android. Here, Android HttpClient is a new method in SDK 2.2 to download breakpoint files. Let's take a look at the following figure first.
smart_ breakpointDownload\bin\com\smart\activoty\download\R$attr.class
smart_ breakpointDownload\bin\com\smart\activoty\download\R$drawable.class
smart_ breakpointDownload\bin\com\smart\activoty\download\R$id.class
smart_ breakpointDownload\bin\com\smart\activoty\download\R$layout.class
smart_ breakpointDownload\bin\com\smart\activoty\download\R$string.class
smart_ breakpointDownload\bin\com\smart\activoty\download\R.class
smart_ breakpointDownload\bin\com\smart\activoty\download\SmartDownloadActivity$1.class
smart_ breakpointDownload\bin\com\smart\activoty\download\SmartDownloadActivity$2.class
smart_ breakpointDownload\bin\com\smart\activoty\download\SmartDownloadActivity$3$1.class
smart_ breakpointDownload\bin\com\smart\activoty\download\SmartDownloadActivity$3.class
smart_ breakpointDownload\bin\com\smart\activoty\download\SmartDownloadActivity.class
smart_ breakpointDownload\bin\com\smart\db\DBOpenHelper.class
smart_ breakpointDownload\bin\com\smart\db\FileService.class
smart_ breakpointDownload\bin\com\smart\impl\SmartDownloadProgressListener.class
smart_ breakpointDownload\bin\com\smart\impl\SmartDownloadThread.class
smart_ breakpointDownload\bin\com\smart\impl\SmartFileDownloader.class
smart_ breakpointDownload\bin\classes.dex
smart_ breakpointDownload\bin\resources.ap_
smart_ breakpointDownload\bin\smart_ breakpointDownload.apk
smart_ breakpointDownload\gen\com\smart\activoty\download\R.java
smart_ breakpointDownload\res\drawable-hdpi\icon.png
smart_ breakpointDownload\res\drawable-ldpi\icon.png
smart_ breakpointDownload\res\drawable-mdpi\icon.png
smart_ breakpointDownload\res\layout\main.xml
smart_ breakpointDownload\res\values\strings.xml
smart_ breakpointDownload\src\com\smart\activoty\download\SmartDownloadActivity.java
smart_ breakpointDownload\src\com\smart\db\DBOpenHelper.java
smart_ breakpointDownload\src\com\smart\db\FileService.java
smart_ breakpointDownload\src\com\smart\impl\SmartDownloadProgressListener.java
smart_ breakpointDownload\src\com\smart\impl\SmartDownloadThread.java
..... Too many files omitted)

[下载]11210609164.rar




上一篇:Android 乐看播放器源代码
下一篇:android源码分享