I have successfully downloaded a file to my Android phone using Phonegap\'s File API. I would like to download the file to the Downloads folder on my phone. For example, if
I have created a plugin which downloads file using download manager and shows progress bar along the way
https://github.com/vasani-arpit/cordova-plugin-downloadmanager
//after device is ready
var fail = function (message) {
alert(message)
}
var success = function (data) {
console.log("succes");
}
cordova.plugins.DownloadManager.download("Your URL to download", success, fail);
I hope it helps.