6

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!

dor506
  • 5,246
  • 9
  • 44
  • 79
  • You were doing exactly what I need to do now. I'm not sure to use DownloadManager or write my own service. Did you find your answer now? If yes, please share your implementation. Thank you! – 0xh8h Jun 26 '14 at 08:36

2 Answers2

1

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).

koljaTM
  • 10,064
  • 2
  • 40
  • 42
  • Much a problem anymore. My device has Android 2.2 and it has not even 2 years, a child age for a phone. – Danubian Sailor Mar 06 '13 at 08:06
  • mine is 2.2 also, the only reason I support that version in my app, otherwise I would think hard whether the 3% of users are worth the hassle, but that depends strongly on the targeted demographic and the type of app. – koljaTM Mar 06 '13 at 08:13
-2

Well I finally Implemented my own download manager, As it is best way to make it flexible to my needs.

dor506
  • 5,246
  • 9
  • 44
  • 79