-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Jacksgong edited this page May 25, 2017
·
16 revisions
- Get Tasks List? "unbind" Activity? Manage Tasks?: Please ref here
-
Set frequence of the
FileDownloadListener#progress
callback: Please ref here、中文-1、中文-2、中文-3 - Start downloading automatically when network reconnected from disconnected state: Please ref here
- How to import FileDownloader to the eclipse?: Please ref here
- Dynamic Url for the same task? : please follow this issue: #224
- getSoFar and getTotal not work correctly?: Please ref here
1.假如 下载进程在下载过程中被异常kill了,程序会默认自动恢复进程吗,还是需要手动写某些代码才能开启
2.在启动下载的时候,怎么判断下载服务已经启动,我想加个优化,假如下载服务未启动,则先启动下载服务再下载
在启动下载的时候,如果下载服务没有启动。默认会进入等待队列,然后自动启动服务,服务启动后,会自动开始任务。
- 获取服务连接状态可以是:
FileDownloader#isServiceConnected
- 进行一些与服务连接有关的调用,可以通过以下方法辅助:
FileDownloader#insureServiceBind
、FileDownloader#insureServiceBindAsync
、FileDownloader#bindService(Runnable)
.
- 不执行下载就无法获取sofar和total?
参考这里
- Initialization
- Start downloading
- Pause or Stop
- Get the internal stored data
- Customizable Component
- Interface