Downloadmanager Sends Status_successful For Failed Download
Okay, I'm downloading files (images). I want to send a message with local URI for the image when the download is completed. But 20% of time I'm getting this: 6-01 18:46:39.900: INF
Solution 1:
DownloadManager is buggy and doesn't work correctly. This bug was filed with Google a while back:
https://code.google.com/p/android/issues/detail?id=18462
For single file download, you could workaround this by specifying a unique directory to download to specifically for this purpose, and just take whatever you get in that directory upon DownloadManager.STATUS_SUCCESSFUL. For multi-file downloads, I can't think of a workaround at the moment, unless you have the ability to rename files at the source.
Post a Comment for "Downloadmanager Sends Status_successful For Failed Download"