Domanda

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?

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top