Hi James,
I am not sure what the exact problem is here, but I might be able to
point you in the general direction. Windows Phone 7 does support local
storage, however, it is not enabled for files served from isolated
storage, which is where your PhoneGap files reside. This is much like
the way that some desktop browsers do not support local storage for
HTML files served from the filesystems.
To ovecome this problem, the PhoneGap team created a 'shim'
implementation of localStorage, which uses Silverlight isolates
storage for persistence. However, this shim does not provide exactly
the same interface as the real localStorage object. For example, it
does not support getting / setting keys via string indexers. Looking
at the GWT implementation it does use the getItem, setItem functions
which are present on the shim, but there might be some other issues.
I would suggest using JavaScript via JSNI to interface with
localStorage directly.
Colin E.
On Mar 13, 2:02 am, James Tyner <
jamesty...@gmail.com> wrote:
> Well I checked for a null on my storage. It *is* returning null. But on the
> website
html5test.com it does show that localStorage is supported?
>
>
> On Mon, Mar 12, 2012 at 9:59 PM, James Tyner <
jamesty...@gmail.com> wrote:
> > By the way I am using Windows Phone 7
>