开发者

Download file from URL to the file system with PhoneGap

How can I download a file from URL to the file system with PhoneGap? I see there is a plugin for this (http://www.toforge.com/2011/02/phonegap-android-plugin-for-download-files-from-url-on-sd-开发者_运维技巧card/), but it's only for Android.

Are there any cross-platform solutions?


Looks like the FileWriter is supported on most platforms. I haven't tried it, but it might work for you.

http://docs.phonegap.com/en/1.3.0/phonegap_file_file.md.html#File

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜