> Hi,
>
> Can you please post the sample code you are using?

Hi

I have the same problem with the Java API

I tried several things:

1- No reminder (I hoped that it uses the default configuration of the
calendar, but nope)

URL postUrl =  new
URL("http://www.google.com/calendar/feeds/default/private/full";);
EventEntry myEntry = new EventEntry();
myEntry.setTitle(new PlainTextConstruct(txt));
myEntry.setContent(new PlainTextConstruct(""));
Person author = new Person(user, null, user);
myEntry.getAuthors().add(author);
When eventTimes = new When();
DateTime timeIni=DateTime(System.currentTimeMillis()+5490000); //+1h
31min 30sg
DateTime timeEnd=new DateTime(System.currentTimeMillis()+7620000);
//+2h 7 mins
eventTimes.setStartTime(timeIni);
eventTimes.setEndTime(timeEnd);
myEntry.addTime(eventTimes);
CalendarService myService =new CalendarService("DodgerSystem");
myService.setUserCredentials(user, pass);
//Send the request and receive the response:
EventEntry insertedEntry = myService.insert(postUrl, myEntry);





2- Add a reminder with 30 mins
...
myEntry.addTime(eventTimes);
Reminder reminder=new Reminder();
reminder.setMinutes(30);
myEntry.setExtension(reminder);
...



3- Add a reminder with absolute time
...
myEntry.addTime(eventTimes);
Reminder reminder=new Reminder();
reminder.setAbsoluteTime(new
DateTime(System.currentTimeMillis()+3660000));
myEntry.setExtension(reminder);
...




any ideas? I'm pretty stuck with this!!!

thxs
-dodger-


--~--~---------~--~----~------------~-------~--~----~
 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to