Well I finally Implemented my own download manager, As it is best way to make it flexible to my needs.
DownloadManager VS Own download implementation?
-
18-03-2022 - |
Question
I'm building an application in which I need to download large files.
The application needs to support:
-Download big files (off course..)
-Resume broken downloads
-Be notified about download progress
-Download in the background (when user isn't in the app)
-Manualy pause/resume of downloads
Should I use Android's DownloadManager or implement my own download manager?
thanks in advance!
La solution 2
Autres conseils
Of course it is much easier and probably less error-prone to go with the Android DownloadManager. Be aware though, that it needs Android 2.3 (not so much of a problem anymore I should think).
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow