CalendarEntry calendar = new CalendarEntry();
calendar.setTitle(new PlainTextConstruct("Title"));
calendar.setHidden(HiddenProperty.FALSE);
calendar.setSelected(SelectedProperty.TRUE);
calendar.setAccessLevel(AccessLevelProperty.OWNER);
            
URL postUrl = new 
URL("https://www.google.com/calendar/feeds/default/owncalendars/full";);
service.insert(postUrl, calendar);

However, when I view the calendar in Google Calendar, it is mark as Shared 
with a user that appears to be the calendar itself.  The user is of the 
format "Title" <[email protected]>.  This is just my 
guess but it would appear that the calendar is being created and a user is 
being created with the same name to own that calendar.  It is then being 
shared with the user logged in.

Is there a way to create a calendar where the user is the owner and it is 
not shared?

Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Google Calendar Data API" 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://code.google.com/apis/calendar/community/forum.html

Reply via email to