Hello
i am trying to create an app that fires an alarm at a certain time but it is never fired.
I've added
<feature name="http://tizen.org/api/tizen" required="true"/>
<feature name="http://tizen.org/api/alarm" required="true"/>
<feature name="http://tizen.org/api/alarm.read" required="true"/>
<feature name="http://tizen.org/api/alarm.write" required="true"/>
<tizen:privilege name="http://tizen.org/privilege/application.launch"/>
<tizen:privilege name="http://tizen.org/privilege/alarm"/>
to the config.xml and the following code in .js file:
var alarm = new tizen.AlarmRelative(30);
tizen.alarm.add(alarm, "org.tizen.clock");
console.log("Alarm added with id: " + alarm.id);
I get a correct id but the clock (or other apps) are never shown. The same happens when i try to schedule an AlarmAbsolute.
What am i doing wrong?
thanks in advance and greetings
Cris