阿神2017-04-17 18:02:37
I haven’t found any relevant configuration similar to what you mentioned. Downloadmanager is a system-level service and can only submit tasks. Task scheduling is determined by the system. Different mobile phone manufacturers may modify this service and the number of tasks that can be downloaded at the same time will be different. . DownloadManager only provides a convenient download method, but to be flexible, multi-style, and customizable, developers still have to implement the download process module themselves.
ringa_lee2017-04-17 18:02:37
DownloadManager currently does not provide an interface for concurrent downloads. As for whether it can support concurrent downloads, this has something to do with the manufacturer. Two open source projects that support concurrent downloads:
github: Aspsine/MultiThreadDownload
github: lingochamp/FileDownloader
p.s. The traffic fee is so expensive, why do you have to struggle with the traffic? [Facepalm]
伊谢尔伦2017-04-17 18:02:37
Use a third-party download library, which has powerful functions and free control.