Download PDF with the Download manager and view it Android coding with Sketchware

Channel:
Subscribers:
2,020
Published on ● Video Link: https://www.youtube.com/watch?v=3gobrLF8vEc



Duration: 0:59
166 views
7


Use the code below to get the Uri from the file path of the downloaded PDF after it has been downloaded.

Uri pdfuri = Uri.fromFile(new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS),File.separator + _foldername + File.separator + _filename + "." + fileExtension));







Tags:
sketchware
sketchwarepro
android
androiddev
developingforandroid