文件名称:test_asynctask
-
所属分类:
- 标签属性:
- 上传时间:2013-07-31
-
文件大小:62.21kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
Android断点续传及网格文件下载的Java实例源代码,支持在暂停下载后继续下载,现在很多下载软件普遍都使用的功能,在Android手机软件中应用断点续传技术也是很有必要的。通过这个Android源码可学习一下如何基于Java代码实现断点续传的应用,比如如何设置当前线程下载的起点、终点,设置断点续传的开始位置,设置User-Agent ,httpURLConnection.setRequestProperty("User-Agent","NetFox") 设置断点续传的开始位置,httpURLConnection.setRequestProperty("RANGE","bytes=4096") 如何使用java中的RandomAccessFile 对文件进行随机读写操作,如何自动去调用onProgressUpdate方法,传递下载进度,当一个下载任务成功下载完成的时候回来调用onPostExecute方法,这里的result参数就是doInBackground方法的返回值。-Android HTTP and grid files downloadable Java source code examples to support continued after pausing a download download now download software generally use a lot of features, the Android phone software applications HTTP technology is also necessary . Through this Android source code can learn how to code based on Java HTTP applications, such as how to set the current thread download start, end, set the start position HTTP, set the User-Agent, httpURLConnection.setRequestProperty (" User-Agent " ," NetFox " ) Set HTTP starting position, httpURLConnection.setRequestProperty (" RANGE " ," bytes = 4096 " ) RandomAccessFile how to use java in random read and write operations on the file, how to automatically go call onProgressUpdate method, passing the download progress, when a download task completed successfully downloaded back when calling onPostExecute method, where the result parameter is the doInBackground method' s return value.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
codefans.net/test_asynctask/.classpath
codefans.net/test_asynctask/.project
codefans.net/test_asynctask/AndroidManifest.xml
codefans.net/test_asynctask/bin/classes.dex
codefans.net/test_asynctask/bin/com/ldci/asynctask/Async.class
codefans.net/test_asynctask/bin/com/ldci/asynctask/AsyncTaskActivity$ListAdapter.class
codefans.net/test_asynctask/bin/com/ldci/asynctask/AsyncTaskActivity.class
codefans.net/test_asynctask/bin/com/ldci/asynctask/R$attr.class
codefans.net/test_asynctask/bin/com/ldci/asynctask/R$drawable.class
codefans.net/test_asynctask/bin/com/ldci/asynctask/R$id.class
codefans.net/test_asynctask/bin/com/ldci/asynctask/R$layout.class
codefans.net/test_asynctask/bin/com/ldci/asynctask/R$string.class
codefans.net/test_asynctask/bin/com/ldci/asynctask/R.class
codefans.net/test_asynctask/bin/com/ldci/asynctask/Utils.class
codefans.net/test_asynctask/bin/resources.ap_
codefans.net/test_asynctask/bin/test_asynctask.apk
codefans.net/test_asynctask/default.properties
codefans.net/test_asynctask/gen/com/ldci/asynctask/R.java
codefans.net/test_asynctask/proguard.cfg
codefans.net/test_asynctask/res/drawable-hdpi/icon.png
codefans.net/test_asynctask/res/drawable-ldpi/icon.png
codefans.net/test_asynctask/res/drawable-mdpi/icon.png
codefans.net/test_asynctask/res/layout/list_item.xml
codefans.net/test_asynctask/res/layout/main.xml
codefans.net/test_asynctask/res/values/strings.xml
codefans.net/test_asynctask/src/com/ldci/asynctask/Async.java
codefans.net/test_asynctask/src/com/ldci/asynctask/AsyncTaskActivity.java
codefans.net/test_asynctask/src/com/ldci/asynctask/Utils.java
codefans.net/test_asynctask/bin/com/ldci/asynctask
codefans.net/test_asynctask/gen/com/ldci/asynctask
codefans.net/test_asynctask/src/com/ldci/asynctask
codefans.net/test_asynctask/bin/com/ldci
codefans.net/test_asynctask/gen/com/ldci
codefans.net/test_asynctask/src/com/ldci
codefans.net/test_asynctask/bin/com
codefans.net/test_asynctask/gen/com
codefans.net/test_asynctask/res/drawable-hdpi
codefans.net/test_asynctask/res/drawable-ldpi
codefans.net/test_asynctask/res/drawable-mdpi
codefans.net/test_asynctask/res/layout
codefans.net/test_asynctask/res/values
codefans.net/test_asynctask/src/com
codefans.net/test_asynctask/assets
codefans.net/test_asynctask/bin
codefans.net/test_asynctask/gen
codefans.net/test_asynctask/res
codefans.net/test_asynctask/src
codefans.net/test_asynctask
codefans.net
codefans.net/test_asynctask/.project
codefans.net/test_asynctask/AndroidManifest.xml
codefans.net/test_asynctask/bin/classes.dex
codefans.net/test_asynctask/bin/com/ldci/asynctask/Async.class
codefans.net/test_asynctask/bin/com/ldci/asynctask/AsyncTaskActivity$ListAdapter.class
codefans.net/test_asynctask/bin/com/ldci/asynctask/AsyncTaskActivity.class
codefans.net/test_asynctask/bin/com/ldci/asynctask/R$attr.class
codefans.net/test_asynctask/bin/com/ldci/asynctask/R$drawable.class
codefans.net/test_asynctask/bin/com/ldci/asynctask/R$id.class
codefans.net/test_asynctask/bin/com/ldci/asynctask/R$layout.class
codefans.net/test_asynctask/bin/com/ldci/asynctask/R$string.class
codefans.net/test_asynctask/bin/com/ldci/asynctask/R.class
codefans.net/test_asynctask/bin/com/ldci/asynctask/Utils.class
codefans.net/test_asynctask/bin/resources.ap_
codefans.net/test_asynctask/bin/test_asynctask.apk
codefans.net/test_asynctask/default.properties
codefans.net/test_asynctask/gen/com/ldci/asynctask/R.java
codefans.net/test_asynctask/proguard.cfg
codefans.net/test_asynctask/res/drawable-hdpi/icon.png
codefans.net/test_asynctask/res/drawable-ldpi/icon.png
codefans.net/test_asynctask/res/drawable-mdpi/icon.png
codefans.net/test_asynctask/res/layout/list_item.xml
codefans.net/test_asynctask/res/layout/main.xml
codefans.net/test_asynctask/res/values/strings.xml
codefans.net/test_asynctask/src/com/ldci/asynctask/Async.java
codefans.net/test_asynctask/src/com/ldci/asynctask/AsyncTaskActivity.java
codefans.net/test_asynctask/src/com/ldci/asynctask/Utils.java
codefans.net/test_asynctask/bin/com/ldci/asynctask
codefans.net/test_asynctask/gen/com/ldci/asynctask
codefans.net/test_asynctask/src/com/ldci/asynctask
codefans.net/test_asynctask/bin/com/ldci
codefans.net/test_asynctask/gen/com/ldci
codefans.net/test_asynctask/src/com/ldci
codefans.net/test_asynctask/bin/com
codefans.net/test_asynctask/gen/com
codefans.net/test_asynctask/res/drawable-hdpi
codefans.net/test_asynctask/res/drawable-ldpi
codefans.net/test_asynctask/res/drawable-mdpi
codefans.net/test_asynctask/res/layout
codefans.net/test_asynctask/res/values
codefans.net/test_asynctask/src/com
codefans.net/test_asynctask/assets
codefans.net/test_asynctask/bin
codefans.net/test_asynctask/gen
codefans.net/test_asynctask/res
codefans.net/test_asynctask/src
codefans.net/test_asynctask
codefans.net
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.