I am able to set an event in my calender. My code is
var ev = new tizen.CalendarEvent
({
description : document.getElementById('des').value,
summary : document.getElementById('summ').value,
startDate : new tizen.TZDate(yy, mm, dd, h, m),
duration : new tizen.TimeDuration(dur1, "HOURS"),
location : document.getElementById('loc').value,
});
How could I set a calendarAlarm event to this? i.e. I want to enable the alarm to the event. Please give code if anyone knows.
Thanks in advance.