سؤال

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