Twitter

Configuration

See how to configure DAVdroid for various CalDAV/CardDAV servers/services.
  1. If you want to use task synchronization, install the OpenTasks app [F-Droid, Play Store] before installing DAVdroid.
  2. Download and install DAVdroid.
  3. Click on the "+" floating action button to add a new DAVdroid account.
  4. Enter your server details (see below) and click "Next".
  5. Enter the name for the account. Basically, you can choose any account name like "Work" or "Private" or "My Account", but when you use attendee information in events, Android expects the account name to be your email address. The account name will be used as ORGANIZER field for group-scheduled events.
  6. Then, click on "Add account".
  7. Navigate to the account in DAVdroid. The available collections (= address books, calendars, task lists) are shown there.
  8. Check the collections you want to synchronize.
  9. Optional: open account settings (from the action bar) and adapt them to your needs.

What is the Base URL?

When logging in by URL, DAVdroid asks for the "Base URL". This can be:

So, DAVdroid will query the base URL for both CalDAV and CardDAV and use whatever it finds. If CalDAV and CardDAV are separated on your server and well-known URLs are not configured, you'll have to create two DAVdroid accounts: one for CalDAV (use the CalDAV URL as base URL) and one for CardDAV (use the CardDAV URL as base URL).

To refresh the collection list and create collections on the server, DAVdroid needs to know the CalDAV/CardDAV homeset, so these functions will only be available if a principal and/or homeset URL can be found for the respective protocol.

Service discovery

DAVdroid supports both service location discovery by SRV/TXT records and well-known URLs.

To use CalDAV and CardDAV in one DAVdroid account, make sure these redirects are present on your server:

/.well-known/caldav → CalDAV service path (302 Found), e.g. /remote.php/caldav/
/.well-known/carddav → CardDAV service path (302 Found), e.g. /remote.php/carddav/

If these redirects are configured correctly, you can use the root URL http(s)://your.server.example/ without any additional paths as the base URL in DAVdroid.