alwayswill / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

Adding events to a calendar #221

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Which Google API and version (e.g. Google Calendar Data API version 2)?
Version 1.4.1-beta released!

What format (e.g. JSON, Atom)?
Atom

What Authentation (e.g. OAuth, OAuth 2, Android, ClientLogin)?
Android

Java environment (e.g. Java 6, Android 2.3, App Engine 1.4.2)?
Android 2,1

External references, such as API reference guide?

Please provide any additional information below.

Original issue reported on code.google.com by druida...@gmail.com on 25 May 2011 at 8:39

GoogleCodeExporter commented 9 years ago
I also could not find any way to insert EventEntry to an existing 
CalenderEntry. Anyone can give an example please?

Original comment by ge...@gogreenpost.com on 13 Oct 2011 at 7:14

GoogleCodeExporter commented 9 years ago
I'm not sure if this is the CORRECT format but after a lot of trial and error I 
got it to work using this:
client.eventFeed().insert().execute(new 
CalendarUrl(calendar.getEventFeedLink()), eventEntry)

Original comment by OTo...@gmail.com on 11 Dec 2011 at 11:53