Accessing system info properties on 2.1 SDK

Accessing system info properties on 2.1 SDK

BY 23 May 2013 Web Application Development

Hi,

 

In 2.0 SDK, i could access to system info properties with : 

tizen.systeminfo.getPropertyValue(“DISPLAY”, onSuccessCallback, onErrorCallback);

With the following privileges in the config.xml :

<tizen:privilege name="http://tizen.org/privilege/tizen"/>
<tizen:privilege name="http://tizen.org/privilege/systeminfo"/>

But with the new 2.1 it says “Uncaught TypeError: Cannot call method ‘getPropertyValue’ of undefined

It looks like the new SDK changed the way privileges are named but I couldn’t figure what privilege to use. I tried the system info sample, but it looks like samsung doesn’t not have updated their samples to the new SDK cause I get the same error.

Any idea of the new privileges names to use ?

Regards

 

Written by