How to load/save file from Isolated Storage

You can save and load configuration information in the Isolated Storage of the app, to do that you can use the next functions from your Javascript files:

window.external.notify("SaveConfiguration(aStringWithTheData)";
window.external.notify("LoadConfiguration()");
You can serialize your configuration information in a string and store that with the SaveConfiguration call.

If you wan to get that info, write a function called setdata in your javascript that the LoadConfiguration will call passing your saved string.

Last edited May 12, 2011 at 1:32 PM by onir, version 1

Comments

No comments yet.