When you add event. I have this code but I think that I must put id
Calendar cal = Calendar.getInstance();
Intent intent = new Intent(Intent.ACTION_EDIT);
intent.setType("vnd.android.cursor.item/event");
intent.putExtra("beginTime", cal.getTimeInMillis());
intent.putExtra("allDay", true);
intent.putExtra("rrule", "FREQ=YEARLY");
intent.putExtra("endTime", cal.getTimeInMillis()+60*60*1000);
intent.putExtra("title", "A Test Event from android app");
intent.putExtra("color", mCalendarPrivate.getColor());
startActivity(intent);
How Can I update and remove events? I hope that somebody can help me.
For update a remove an event you to have eventId ...
Update:
Remove: