Jeremy Cheng
Posts: 0
Joined: Thu Jan 30, 2014 5:58 am

Cannot download file through webview

I am using window.location at page show to redirect the entire screen to my own URL. If there is any html links to a downloadable file(ie .mp3), the link will not function, nothing happens when the link is clicked. How do I make it so that when a URL link is clicked that points to a file, the file starts being downloaded like the default browser behavior?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Cannot download file through webview

Hello! You can open link in default browser, not in app and browser will work as usual http://cordova.apache.org/docs/en/3.0.... You can also search for PhoneGap plugin which saves file on click on link. Another way is to write your own code to save file. This link should help http://cordova.apache.org/docs/en/3.0...

Return to “Issues”