https://kotlinlang.org logo
Title
u

user

06/29/2022, 7:11 AM
Files are not getting saved in Android Download Folder I am using Download Manager to Download PDFs and Images. Downloaded files are not getting saved in Download Folder. Here is my code. ` val fileName = "MG Uploaded Documents" val request = DownloadManager.Request(Uri.parse(downloadUrl)) .setTitle("Download") .setDescription("Downloading") request.setDestinationUri( Uri.fromFile(File(this.getExternalFilesDir(Environment.DIRECTORY_DOWNLOADS) .toString() , fileName)))...