Hi,
This code was perfectly working in 2.1 but seems not working in 2.2 :
var date = new Date(); date = new Date(date.getTime()+(1*60*1000)); var alarm = new tizen.AlarmAbsolute(date, tizen.alarm.PERIOD_MINUTE); tizen.alarm.add(alarm, tizen.application.getCurrentApplication().appInfo.id); console.log(JSON.stringify(tizen.alarm.getAll()));
The alarm should fire and self launch the app one minute after running this code, and the every minute. But nothing happens.
In fact it seems related to the alarm periodicity, because if I suppress i do just a var alarm = new tizen.AlarmAbsolute(date) the alarms fires correctly. Is there something new with tizen 2.2 to handle alarm periodicity or should I fill a jira ?
The result of the console.log is :
[{"daysOfTheWeek":[],"date":"2013-07-30T18:51:19.000Z","id":"327816","period":60}]
Regards,
Jean-Philippe