It creates Intent for Android default calendar.
var calendar = require('com.ti.calendar.intent');
var time = new Date().getTime();
calendar.addEvent({
title: "Event Title",
location: "Event Location",
description: "Event Description",
beginTime: String(time),
endTime: String(time + 3600 * 1000),
allDay: false,
email: "[email protected],[email protected]",
rrule: "FREQ=WEEKLY;COUNT=10;WKST=SU",
accessLevel: calendar.ACCESS_DEFAULT,
availability: calendar.AVAILABILITY_TENTATIVE
});
Refer to the Calendar Intents.
The MIT License
Copyright (c) 2013 infiniteloop Co., Ltd.