to save a text file you can use "invoke downloads of string" in bowser object, indicating, for example, the contents of a text box. In my experience, works fine on PC and in preview mode, but not work after import in intel XDK [1621 vers], perhaps due a bug in XDK. I opened a topic [look here: save image or other file on phone] but , until now, I did not have solutions to this problem.