08-22-2011 01:50 AM - last edited on 08-22-2011 04:29 PM by Chronos
and according to this local storage is supported only in playbook.
And i tried using simple localstorage commads like " oneArray = LocalStorage["myMemory"]; " but it didnt work
08-23-2011 03:09 PM
According to this post you'll see that it should be supported 6.0+ .
What OS are you trying this on?
What does "didn't work" mean?
08-25-2011 09:47 PM
08-26-2011 10:28 AM
09-08-2011 10:39 PM
I have used localStorage extensively in my WebWorks app, for storing sessions, cache, etc. localStorage works perfectly on OS 6 (the browser supports HTML5), even it works perfectly on my 9700 (upgraded to OS 6).The OS 6 simulator also supports localStorage.
If you wanted to make sure if localStorage works on your target device, just open http://html5demos.com/ in device browser, click on "storage" filter demo, you should see a green icon if localStorage is supported.
A nice reference on how to use localStorage is here:
The code to implement localStorage is simple:
// reads local storage var data = localStorage['config']; // writes to local storage localStorage["config"] = data;
hope this helps.