HOWTO: Sync Google Calendar on iPhone OS 3.0

Update: I”ve added an additional section, “Multiple CalDAV Calendars” that details the extra steps required to synchronize more than one Google Calendar.

Update 2: I”d like to thank Elena for finding the address to add contact birthdays: https://www.google.com/calendar/dav/#contacts@group.v.calendar.google.com/user

With iPhone OS 3.0, Apple introduced new functionality for calendar synchronization. No longer is this ability limited to Exchange and MobileMe; with CalDAV and ICS support, you can sync or subscribe to many calendars. This is a boon for those of us that use Exchange for work, as previously we were unable to sync any other personal calendars and instead, had to rely on a desktop program.

The two most prominent supporters of CalDAV for calendar bidirectional synchronization is Yahoo! and Google. Below, I”ll show you how to sync your main Google Calendar with CalDAV and also subscribe to additional calendars via ICS files.

CalDAV Calendar

  1. Open up Settings from the home screen

    Settings
    Settings
  2. Swipe down and select “Mail, Contacts, Calendars”. At the bottom of the account list, touch “Add Account…”
    Mail, Contacts, Calendars
  3. We”re not adding any of the built-in accounts, so select “Other”

    Add Account...
    Add Account...
  4. At the bottom, select “Add CalDAV Account”

    Select Account Type
    Select Account Type
  5. Now, enter the credentials. For Google Calendar, blackjack use the following information. According to Yahoo!”s documentation, you would instead use “caldav.calendar.yahoo.com” for Server.
    • Server: www.google.com
    • Username: <user@domain.com>
    • Password: <yourpassword>
    • Description: <Calendar Description>

    CalDAV Settings
    CalDAV Settings
  6. The iPhone should now verify your account and auto-discover the rest of the settings. Really, that”s it!

Subscribed Calendar (ICS)

For Subscribed Calendars, the process is much easier due to some magic on Apple”s part. Simply email yourself a link to the ICS file and click it to open! Where do you get the URL for a calendar? I”ve got a couple of screenshots to guide you through that process:

  1. Click the down arrow next to the calendar you want to subscribe to and click “Calendar settings”.

    Google Calendar Settings
    Google Calendar Settings
  2. At the bottom of this page, you”ll see several buttons to access XML, ICAL, or HTML versions of a calendar. To avoid sharing your calendar, simply click the ICAL button listed under “Private Address”.

    Calendar Private Address
    Calendar Private Address
  3. A modal dialog box will pop up with the URL. Simply copy and paste this to yourself in an email.
    ICS URL

Update: Commenters have pointed out, that you only need to open the link directly from the email, and the iPhone will take care of the rest… Genius!

Multiple CalDAV Calendars

It”s possible to sync secondary calendars from Google (i.e. those that are not the “main” calendar). This is simple, but you need a special ID similar to the ICS URL. Go back to you calendar settings page where the Private Address is listed. Above there is a section labeled Calendar Address. To the very right is a Calendar ID. Copy this ID into an email and compose a URL like the following:

  • https://www.google.com/calendar/dav/ [ your Google Calendar ID ] /user

This URL is different than what the Google Calendar Help page suggests. Email this URL to yourself, copy it, then paste it into the “Server” field from above. The rest of the settings should copy itself into the Advanced Settings.

Miscellaneous

A couple notes:

  • You can definitely set the CalDAV calendar as a default calendar, but I had problems making the change until I first went into the calendar app and let it populate. Afterward, I was able to drill back down to the “Default Calendar” setting in “Mail, Contacts, Calendars”.
  • While CalDav is a bidirectional synchronization, it does not support Push like Exchange and MobileMe. Synchronization will happen just like like mail does: At every Fetch interval and also “on-demand”, which is whenever you open the app.

152 thoughts on “HOWTO: Sync Google Calendar on iPhone OS 3.0

  1. You are an official genius. I tried and tried to figure this SSL problem out, but this worked!

  2. Hi i have an i pad that sincs with my gmail account and i have just got an iphone 3 from a friend, even though i have my gmail account attached to the phone it still wont talk to gmail but it is talking to my ipad… any thoughts??

Leave a Reply

Your email address will not be published. Required fields are marked *

* Copy This Password *

* Type Or Paste Password Here *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>