CHJani / google-api-java-client

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

Create EventEntry inside a CalendarEntry in Android #319

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 2

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

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

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

External references, such as API reference guide?

Please provide any additional information below.
Please give an example on how to create a new Event in an existing calendar.

Original issue reported on code.google.com by ge...@gogreenpost.com on 13 Oct 2011 at 7:19

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:54

GoogleCodeExporter commented 9 years ago

Original comment by rmis...@google.com on 14 Jan 2013 at 3:31