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.
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]
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.
Use Xutils to download, you can set the download quantity
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]
Use a third-party download library, which has powerful functions and free control.