Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to import Google Calendar using Google Calendar API

$
0
0

This example demonstrates how you can use the Google Calendar API in your scheduling application.
The Google Calendar API enables you to establish seamless information exchange between your application and Google calendar(s) available online.
This project refers to, but does not include Google Data API assemblies. You are encouraged to download .NET library from the Google Data API Homepage and update project references.
The use of Google API is licensed under the Apache License, Version 2.0 (the "License"). You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
 
Appointment entries obtained via Google API are objects of Google.GData.Calendar.EventEntry type. Each appointment entry is processed to create an XtraScheduler appointment, recurrence pattern or exception. To parse recurrence information contained within appointment entry, a RecurrencePatternParserclass is implemented. It creates the DevExpress.XtraScheduler.iCalendar.iCalendarEntryParserinstance to parse recurrence information represented by a string in iCalendar format. The DevExpress.XtraScheduler.iCalendar.iCalendarEntryParser instance holds the parse results and provides access to property values by property names.
Note that a special method is required to link exceptions (changed or deleted occurrences) with their patterns since they are created independently while processing Google appointment entries.

Question Comments

Added By: Marco Calabri at: 7/10/2013 1:28:41 AM    

good morning to all,
thanks for the example
how can I import the "Description" field from Google Calendar?
thanks for your help

Added By: subbu .B at: 10/10/2013 10:48:16 PM    

Hi,
I need help.How can i implement same code in my windows phone app using c#.
Thnaks,

Added By: Stephen Wright at: 7/4/2015 1:01:28 PM    

Thanks for the example. I have downloaded the latest DLL's from the website. The code fails on line 111

UserProfile.Instance.Calendars = (CalendarFeed)service.Query(query);

the catch then says it is an invalid username/password. But I know these to be correct because I use them to login via chrome.
Can someone suggest what I've left out.

Regards.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>