Skip to content Skip to sidebar Skip to footer

Download Video File Using Webview

i am trying to download video file using web view on click button when i click on button it start download but when i check on file manager there is nothing inside it. this is my u

Solution 1:

You download video in the location you set yourself in this line:

.setDestinationInExternalPublicDir("/abc", stone_barcodeno + "_certi" + ".jpg");

if you can't find this directory(abc) set location to a place that are familiar to you such as download folder or use getUriForDownloadedFile to get your downloaded file directory. for more info go to [this page](https://developer.android.com/reference/android/app/DownloadManager.Request.html#setDestinationInExternalFilesDir(android.content.Context, java.lang.String, java.lang.String)).

Post a Comment for "Download Video File Using Webview"