I\'ve been pulling out my hair on this for a while now. The following method is supposed to download a file, and save it to the location specified on the hard drive.
Please check with this, it may help you..
enter tis permission in your manifest file.