Pergunta

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?

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top