Cordova adding calendar event without intent

view story

http://stackoverflow.com – Im having an issue adding a calendar event through a cordova plugin. Im running cordova 2.5 Im getting a "JAR class belongs to android dependencies which does not allow modifications to source attachments on its entries. heres the code: ContentResolver cr = this.cordova.getActivity().getContentResolver(); ContentValues values = new ContentValues(); values.put(Events.DTSTART, calendarStart.toString()); values.put(Events.DTEND, calendarEnd.toString()); values.put(Events.TITLE, "Test App"); values.put(Events.DESCRIPTION, "come on work"); values.put(Events.CALENDAR_ID, (HowTos)