I am new to tizen, I have just installed the latest IDE.
I have opened the sample systemInfo and run on the emulator.
When i click the either of the button, it says "Exception: tizen is not defined".
It seems i fail to access the device api.
Anything i need to do before using the device api ?
I have tried to set the privilege etc but it doesn't work.
Anyone can give me some direction ?
Thanks
<?xml version="1.0" encoding="UTF-8"?> <widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/systemInfo" version="0.1.7" viewmodes="maximized"> <tizen:application id="nzH1jZofk8.systemInfo" package="nzH1jZofk8" required_version="2.2"/> <content src="index.html"/> <feature name="http://tizen.org/api/tizen"/> <feature name="http://tizen.org/api/application"/> <feature name="http://tizen.org/api/application.kill"/> <feature name="http://tizen.org/api/application.launch"/> <feature name="http://tizen.org/api/application.read"/> <feature name="http://tizen.org/api/alarm"/> <feature name="http://tizen.org/api/alarm.read"/> <feature name="http://tizen.org/api/alarm.write"/> <feature name="http://tizen.org/feature/screen.size.normal.720.1280"/> <icon src="icon.png"/> <name>systemInfo</name> <tizen:privilege name="http://tizen.org/privilege/application.launch"/> <tizen:privilege name="http://tizen.org/privilege/alarm"/> <tizen:privilege name="http://tizen.org/privilege/notification"/> <tizen:privilege name="http://tizen.org/privilege/application.read"/> <tizen:privilege name="http://tizen.org/privilege/application.info"/> <tizen:setting screen-orientation="portrait" context-menu="enable" background-support="disable" encryption="disable" install-location="auto" hwkey-event="enable"/> </widget>