Hi!

I'm writing an application. It add some event to the google calendar,
with the following function:

ContentValues event = new ContentValues();
                event.put("calendar_id", calId);
                event.put("title", EventDisc);
                event.put("description", "Reminder");
                event.put("eventLocation", "Office");
                event.put("dtstart", cal.getTimeInMillis());
                event.put("dtend", cal.getTimeInMillis());
                event.put("allDay", 1);
                event.put("eventStatus", 1);
                event.put("visibility", 0);
                event.put("transparency", 0);
                event.put("hasAlarm", 1); // 0 for false, 1 for true

                Uri eventsUri = 
Uri.parse("content://com.android.calendar/events");


the only function that is missing, is the yearly repeat.
How could I add this function?

Thanks,
Leslie.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to