Have you looked at Cordova's localStorage
? Accessing an item from the storage is easy as
var value = window.localStorage.getItem("your_key");The sample-localstorage shows how this works on a device.
However, if you want to store your app results as a file (and not as a string in a key-value store or a DB), you can use Cordova's local FileSystem API
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.