I am implementing a mp3 downloader for android. I am using native DownloadManager service. Obviously, when I download a file, it also shows the downloading(or downloaded) file in the Download Manager app. I want to hide the downloaded file from Downloaded Manager i.e. I don't want the file to be displayed in the download manager list. Is there any way to acheive this?

有帮助吗?

解决方案

Try setVisibleInDownloadsUi() on your DownloadManager.Request.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top