Search code examples
mobiles60nokia-wrt

What Information can a Nokia WRT Widget have access to on the Device?


I intend to store a unique ID on every device that accesses a web service through a Nokia Web Runtime Widget. Now I know that these Widgets cannot Read/Write files on the devices so its not possible to have that id stored on the device.

Is there someone who can figure a way around this? I thought of having the widget get the IMEI number as an alternative and have the users usage info stored on the Server as an alternative or something like that but I am not sure whether the widget can get this information.

So my other question is, what methods would you use to store persistent/session data in general while using Nokia's WRT and does the Widget have access rights to retrieve the device's IMEI?


Solution

  • It is possible to save persistent data in WRT by using the method setPreferenceForKey(). Check this article for example.

    As of WRT system access, it can access standard applications such as Calendar, Contacts, Logs, SMS, MMS, it has access to device location, some system information and sensors on device.

    How to retrieve IMEI? Here is the example.