Languages

Menu
Sites
Language
about tizen.systeminfo

In previous version of SDK,the following code works fine.But after I upgraded to SDK2.0,In web simulator It becomes undefined.The object tizen is not null,but 

tizen.systeminfo is undefined.

who can tell me why?

 var isSupported = tizen.systeminfo.isSupported("WifiNetwork");

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

5 Replies
wanjin ma
:)
rb s
It will be good to share knowledge, what you have make change to work it.
Pushpa G
you can try the following codes, it works: getSystemProperty("WIFI_NETWORK", onWifiSuccess); function onWifiSuccess(wifi) { var p =wifi.status; alert("wifi is "+p); } function getSystemProperty(property, onSuccess) { try { tizen.systeminfo.getPropertyValue(property, onSuccess, onError); } catch (e) { alert("Exception: " + e.message); } } And in config.xml, add the following feature:
Pushpa G
And in config.xml add the following feature:
Marco Buettner
On Tizen 2.0 you can check it by tizen.systeminfo.getCapabilities() https://developer.tizen.org/help/topic/org.tizen.web.device.apireference/tizen/systeminfo.html#getCapabilitiesidp112024 use var isSupported = tizen.systeminfo.getCapabilities().wifi;