Skip to content

Instantly share code, notes, and snippets.

Created January 8, 2014 13:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/16b5953cf270495fc2ca to your computer and use it in GitHub Desktop.
Save anonymous/16b5953cf270495fc2ca to your computer and use it in GitHub Desktop.
Configuration for DAVDroid with iCloud
First it's important to find the right server which holds your icloud account.
Go to icloud.com and log in. Open the calendar and on the right of the name of your calendar(s), you will see the 'share' icon. Click it.
If you then check the 'Public calendar' option, you will see the URL needed to share. This will be something like: webcal://pXX-calendarws.icloud.com/ca/subscribe/1/O9H2HgkbAuOD8VuHd_o8zc6BSfn8cwm0LYTg... where the pxx in the beginning is different for all
you then create a new account on your Android with DAVdroid.
You will need to create an account for your contacts and a different one for your calendars.
URL's are these:
Contacts: pXX-contacts.icloud.com
Calendars: pXX-caldav.icloud.com
You can choose which adressbook or calendar you sync.
@daniellevdw
Copy link

Confirmed: This is works perfect!

Having a mac with icloud + a open-free-software (as possible) android phone without g-apps?
DAVDroid is a very nice and smooth app to sync (both ways) contacts and calendar almost immediately as you make a new event.

Compliments!

@flaxton
Copy link

flaxton commented Apr 16, 2015

OK, I determined (not by the above method - there is no such "Share" button) by looking at the ~/Library/Preferences/MobileMeAccounts.plist file that I am using server p02, so I tried Base URL: https://p02-contacts.icloud.com and still get "HTTP error: 401 Unauthorized"...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment