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
Question Comments
Added By: Andrea Tatone at: 7/25/2013 11:14:40 AM
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/25/2013 11:18:07 PMHi Andrea,
I have created a separate ticket regarding this issue. Please post all messages here Q377803.
Added By: Rakesh Parab at: 5/28/2014 12:15:35 AMplz help me 4.......
how to store .csv file to particular path in mobile like /mnt/sdcard/csvfiles .
???
I have created a separate ticket for this issue How to store a file to a particular folder. Please post all comments in this ticket.