This example demonstrates how to store data to a local file using PhoneGap API. To access a corresponding API, it is necessary to add a link to the cordova.js file.
This example can be tested only on a mobile device.
See also:
PhoneGap Documentation - File
How to build a native package in Visual Studio
How to test PhoneGap API via the Courier tool
Example Comments
Added By: Andrea Tatone at: 7/25/2013 2:14:40 PM
Many thanks for the example. I've tried it in the simulator and the courier, but it doesn't work (i'm working on a android 2.3.4 device). It fails with the message "File system is not accessible", either in read and write. Is there anything I can do?
Added By: Nikolai (DevExpress Support) at: 7/26/2013 2:18:07 AMHi Andrea,
I have created a separate ticket regarding this issue. Please post all messages here Q377803.