Pergunta

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?

Foi útil?

Solução

Try setVisibleInDownloadsUi() on your DownloadManager.Request.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top