This is a migrated thread and some comments may be shown as answers.

Saving files to local file system

1 Answer 227 Views
Apache Cordova
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Chris
Top achievements
Rank 1
Chris asked on 29 Mar 2013, 09:57 PM
I just about to start playing with Icenium. As a total newbie to mobile dev can anyone give me an overview of what is involved when saving to the file system. I'm going to be using android initially as I don't own an Iphone. 

Where in the file system do I have permission to write to
How do I differentiate between SD and Phone storage
What considerations are in making my apps interactions with file system work on the Iphone as well as the Android

Any pointers or considerations would be welcome.

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 01 Apr 2013, 01:23 PM
Hi Chris,

If you want to access the local storage you should use window.localStorage attribute. We have a very nice sample project showing its capabilities. You could clone it locally by following these steps:

  1. Go to Icenium Dashboard
  2. Select Clone menu
  3. In the Repository Uri field insert https://github.com/Icenium/sample-localstorage.git 
  4. Click OK

We also have sample application that demonstrates the usage of File Cordova API in Icenium (https://github.com/Icenium/sample-file.git).

Be aware that The Cordova File API is not yet supported in the simulator and you should deploy to an actual device.

Kind regards,
Steve
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Kendo UI Dojo.
Tags
Apache Cordova
Asked by
Chris
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or