Hi,
if you will send a new gdata calendar event with a notification, which
have a member (quest) and notification is on.
GData java api library will NOT send a notification if your code is
like here:
boolean bSendEventNotifications = true;
// Demonstrate creating a single-occurrence event.
CalendarEventEntry singleEvent = createSingleEvent(myService,
"Tennis with Mike", "Meet for a quick lesson.", guest,
bSendEventNotifications, Visibility.PRIVATE);
....
myEntry.setVisibility( visibility );
if (guest != null)
myEntry.addParticipant(guest);
myEntry.setSendEventNotifications(bSendEventNotifications);
but if your change your code into, it will send also a notification:
myEntry.setSendEventNotifications(bSendEventNotifications);
myEntry.setVisibility( visibility );
if (guest != null)
myEntry.addParticipant(guest);
// Send the request and receive the response:
return service.insert(eventFeedUrl, myEntry);
(if you are using unmidifyied gdata\java\sample\calendar
\EventFeedDemo.java, all is working well, because in this source code
the same singleevent variable will updated later .update() method.
When you will uncomment update-statements, this bug comes up.)
Tuomas
--~--~---------~--~----~------------~-------~--~----~
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://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---