To manipulate a user's Google Calendar, use the Google Calendar GData
API. There's a new client JAR in beta that apparently works well with
Android -- there was a presentation on this at the 2011 Google I|O
conference, and a video of that presentation is up on YouTube.

On Wed, Jun 22, 2011 at 7:11 PM, New Developer <[email protected]> wrote:
>
> I am able to add an event to the calendar
> Provided there is NO event on that day
> If I try to add a second event to the same day  it "appears" to work
>        Uri newEvent =
> cr.insert(Uri.parse("content://com.android.calendar/events"), cv);
> does NOT  return null
> But the calendar shows No new event.
> Now if there is NO event then it will add it fine
> If the second event is another day then it will work
> but not more than one on the same day
> The only thing I see in LogCat is
> 06-22 19:02:46.437: INFO/CalendarProvider2(32279): Sending notification
> intent: Intent { act=android.intent.action.PROVIDER_CHANGED
> dat=content://com.android.calendar }
> 06-22 19:02:46.447: WARN/ContentResolver(32279): Failed to get type for:
> content://com.android.calendar (Unknown URL content://com.android.calendar)
> any pointers ?
> I need to be able to add multiple events for the same day
>
> thanks in advance
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" 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/android-developers?hl=en



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in London: http://bit.ly/smand1, http://bit.ly/smand2

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" 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/android-developers?hl=en

Reply via email to