I am trying to make an application that will do some cleanup on my device among other things I would like it to delete all of the files residing in my Download
dir.
It is actually possible to clear the entries in the Download application. You can simply use the remove(id)
method from the DownloadManager. The only problem is that you probably don't have the referenceId of the downloaded file anymore. If you have the local file Uri or filename, you can simply query the DownloadManager for the successful downloads and look up the id. It seems very cumbersome, but works.