Reputation: 71
I want to download file using webview in android from direct download link. like LINK HERE.
Into my application I have the direct download link and when I press download button that perform the download function. write now I able to download file using defalut browser but default browser display the url, i don't want to display url because it contains the secured userID and other details...
In short I have url, when I run this url into system browser it direct download file. same url i want call into android app and download file into sdcard, but do not shaw url to customer.
Please Help me.
Thanks.
Upvotes: 2
Views: 1602
Reputation: 481
You can use the DownloadManager class for this purpose, it will manage all your downloads and show notifications. Also the URL will be hidden from the user.
Upvotes: 1