I am writing an application to download 6 files of size 500 MB approx. I implemented the download manager and it was working fine but find a few issues in production like “/questions/54535376/android-downloadmanager-doesnt-work-in-some-circumstances”. Also there are multiple posts explaining download manager is not reliable. So I have to remove the download manager and write code to download the files.
What is the best approach in Android to download files of size 500 MB and show download progress?
Few available options are
- Service
- Work manager
- Retrofit
Downloading data on Android is a bit hit and miss as the hardware is so varied, I would do tests on the three systems you mention and find the one that best suits what your trying to do.
On a personal experience I downloaded data for my game using the standard service but my data wasn’t 500Mb.
EdzUp is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.