This plugins allows (limited) access to the calendar APIs on iOS and Android
cordova plugin add fr.smile.cordova.calendar
Creating an event
cordova.plugins.CalendarPlugin.createEvent( 'Title of the event', 'Location of the event', 'Description of the event', 0, // Start date as a timestamp in ms 0, // End date as a timestamp in ms false, // Whether it is an all day event or not, successCallback, // function called on success errorCallback // function called on error );
The code in this plugin was mostly lifted from existing plugins and updated for the latest versions of cordova (3.x).