Hi Google.

I'm trying to work with the Google Calendar Data API and need some
assistance.
I'm new to java, but I'm a rather quick learner.
I managed to create a new event, get a list of all events for any
calendar I have on my profile, but I can't delete an event.

I've read through the examples (including the sample) and I've read
this thread:
http://groups.google.com/group/google-calendar-help-dataapi/browse_thread/thread/e4d8ddaf2fd7ef01/bbb8da89abc2ec55?lnk=gst&q=delete+an+event+java#bbb8da89abc2ec55

but it doesn't help me much... Some of the answers and examples do not
compile or uses variables that aren't defined earlier and it confuses
me.

I noticed that all examples uses a Query in order to delete events.
Is there another way to delete a specific event?
If not, can you please guide me through the deletion of my new-created
event?

What I did in order to create an event was:
URL postUrl = new URL("http://www.google.com/calendar/feeds/"+args
[0]+"/private/full");
                CalendarService myService = new CalendarService("exampleCo-
exampleApp-1");
                myService.setUserCredentials(args[0], args[1]);
                CalendarEventEntry myEntry = new CalendarEventEntry();
                myEntry.setContent(new PlainTextConstruct("to be deleted
November 24 8pm-10:30pm"));
                myEntry.setQuickAdd(true);
(when args[0] and args[1] are the username and password)
by using this code, my new entry "to be deleted" has been created.
Is there an easy way to delete it?

Any help would be really appreciated!
Thanks in advance!
Shenkar S.E

--

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