سؤال

Is it possible to perform file I/O operation in Intel XDK using available API or external javascript framework? For example, the app is using jquery.ajax to download the image. Once downloaded, it will save to the app directory.

If no, what is the alternative way to achieve this?

هل كانت مفيدة؟

المحلول

You can use the Cordova File API to do file I/O, upload/download file. Intel XDK supports building using Cordova.

Here is documentation for Cordova File API: http://cordova.apache.org/docs/en/3.3.0/cordova_file_file.md.html#FileTransfer

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top