I'm using DownloadManager to download file, I wanted to put the downloads in the standard download folder so people could easily find them using file manager looking in the most obvious place:
Uri downloadLocation = Uri.fromFile(new File(Environment.DIRECTORY_DOWNLOADS, filename));
request.setDestinationUri(downloadLocation);
Long reference = downloadManager.enqueue(request);
But I get an exception because that isn't an external drive.
Is there no way to download a file to the user's download folder?
Also, what if they don't have external memory, just internal?
Thanks.