Hi All, I am using the Calendar Java API (Version 2).
I have created and added a event to a secondary calendar as per the sample code at http://code.google.com/apis/calendar/data/2.0/developers_guide_java.html#CreatingSingle . I have accessed the secondary calendar via the primary calendar authentication (e.g. [email protected]) I added a participant to the event via the CalendarEventEntry.addParticipant() method. The EventWho object has been configured with a hotmail email address (e.g. [email protected]) via the EventWho.setEmail() method. I am not getting errors or exceptions when the code executes. However, looking at the primary Calendar two event items are displayed (screen shot attached). One event is set for the primary calendar account (the red in the screenshot) and one for the participant (the dark blue - hotmail - account). Note that I can make the primary calendar account disappear by hiding it from the screen (showing one event instead of two). This is not a preferred workaround as I would like to use a number of email accounts for each participant. My questions. 1. Am I using the participant correctly? 2. If the answer to 1 is yes, is displaying an event for the primary account and per participant normal behaviour? I was hoping to achieve the same effect as when I add "guests" to an event manually, in that one event is created and all the participants are listed as guests. Thanks in advance for the help. Regards, Bill I was expecting -- 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
<<attachment: two_calendar_events.png>>
