Home > Uncategorized > Localstorage equivalent in Nokia WRT

Localstorage equivalent in Nokia WRT

An unfortunate missing feature in Nokia WRT (Web Runtime) is HTML5 Localstorage, but fear not, there is an alternative:

To Save values, replace the following Localstorage call to a WRT call:

localStorage.setItem key, value
widget.setPreferenceForKey value, key

And the equivalent “Get” is:
localStorage.getItem key
widget.preferenceForKey key

More information on this can be read on the Nokia website:



Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: