30-04-2021



  1. Google Caldav Settings
  2. Gmail Carddav Settings Gmail
  3. Google Carddav Settings

Head into Settings - Mail, Contacts, and Calendars. Click the Add Account button, then choose Other. Pick Add CardDAV Account. Under server, put google.com, add your full Gmail address as the user name, and then drop in your password. If you are using two-factor auth, you’ll need to generate an application password for this. CardDAV performs the same task for your contacts and addresses. Can I use CalDAV and CardDAV with Cloud Office? Yes, this is possible in Cloud Office with every account and every device that supports CalDAV or CardDAV. A description of how to set up CalDAV and CardDAV can be found below. Mac, iPhone and iPad CalDAV.

Google Caldav Settings

Wait as the system removes your account data from your iPhone or iPad. Repeat the process to remove multiple accounts, if necessary. For example, some people may have separate CardDAV, CalDAV. Setting up WebDAV, CalDAV, and CardDAV servers. 2015-07-24:: linux, tricks. A while back I wrote a post about paranoia in which I was considering allowing Google or Apple to manage things like my calendar and contacts. If you use a service that isn’t Gmail or Microsoft Exchange for your personal data, there’s a good chance that it supports CardDAV and CalDAV. Even if it doesn’t use these technologies specifically, the service may offer sync using them. If you use an iOS device, CalDAV and CardDAV are supported natively.

You can view and manage your contacts using Google's CardDAV protocol.

Settings

Contacts are stored in the user's Google Account; most Google services haveaccess to the contact list. Your client application can use the CardDAV API tocreate new contacts, edit or delete existing contacts, and query for contactsthat match particular criteria.

Gmail carddav settings yahoo

Specifications

The full specification is not implemented, but many clients such asApple iOS™ Contactsand macOS should interoperate correctly.

For each relevant specification, Google's CardDAV support is as follows:

  • rfc2518: HTTP Extensions for Distributed Authoring (WebDAV)
    • Supports the HTTP methods GET, PUT, DELETE, OPTIONS, andPROPFIND.
    • Does not support the HTTP methods LOCK, UNLOCK, COPY, MOVE, orMKCOL.
    • Does not support arbitrary (user-defined) WebDAV properties.
    • Does not support WebDAV Access Control (rfc3744).
  • rfc5995: Using POST to Add Members to WebDAV Collections
    • Supports creating new contacts without specifying an ID.
  • rfc6352: CardDAV: vCard Extensions to Web Distributed Authoring andVersioning (WebDAV)
    • Supports the HTTP method REPORT, but not all defined reports areimplemented.
    • Supports providing a principal collection and a contacts collection.
  • rfc6578: Collection Synchronization for WebDAV
    • Client applications must switch to this mode of operation after theinitial sync.
  • rfc6749: The OAuth 2.0 Authorization Framework andrfc6750: The OAuth 2.0 Authorization Framework: Bearer Token Usage
    • Supports authenticating CardDAV client programs using OAuth 2.0 HTTPAuthentication. Google does not support any other authentication method.For security of contact data, we require CardDAV connections to useHTTPS.
  • rfc6764: Locating Services for Calendaring Extensions to WebDAV (CalDAV) and vCard Extensions to WebDAV (CardDAV)
    • Bootstrapping of CardDAV URLs must take place according to section 6 ofrfc6764.
  • Supportscaldav-ctag-02: Calendar Collection Entity Tag (CTag) in CalDAV,which is shared between the CardDAV and CalDAV specifications. The contactsctag is like a resource ETag; it changes when anything in the contactaddress book has changed. This allows the client program to quickly determinethat it does not need to synchronize any changed contacts.
  • Google uses VCard 3.0 as the contact encoding format. See:rfc6350: VCard 3.0.

Google’s CardDAV requires OAuth 2.0

Google’s CardDAV interface requires OAuth 2.0. Refer to the linkeddocumentation below for information on using OAuth 2.0 to access Google APIs:

Connecting to Google's CardDAV server

The CardDAV protocol allows discovery of the address book and contact resourcesURIs. You must not hardcode any URI as they could change at any time.

Client applications must use HTTPS, and OAuth 2.0 authentication must beprovided for the user's Google account. The CardDAV server will notauthenticate a request unless it arrives over HTTPS with OAuth 2.0authentication of a Google account, and your application is registered onDevConsole. Any attempt to connect over HTTP with Basic authentication or withan email/password that doesn't match a Google account results in an HTTP401 Unauthorized response code.

To use CardDAV, your client program must initially connect to the canonicaldiscovery path by performing an HTTP PROPFIND on:

Carddav

Once redirected (HTTP 301) to an Address Book Resource, your client programcan then perform a PROPFIND on it to discover theDAV:current-user-principal, DAV:principal-URL, and addressbook-home-setproperties. Your client program can then discover the principal address book byperforming a PROPFIND on the addressbook-home-set and looking for theaddressbook and collection resources. A full description of this processis beyond the scope of this document. Seerfc6352 for more details.

The redirect path returned in the HTTP 301 response through a PROPFIND onthe well-known URI must not be permanently cached (as perrfc6764). Devices should retry well-knownURI discovery periodically to verify if the cached path is still up to date andresync if the path ever changes. Google recommends a rate of every 2-4 weeks.

Gmail Carddav Settings Gmail

Resources

CardDAV uses REST concepts. Client applications act on resources that aredesignated by their URIs. The current URI structure is specified here to helpdevelopers understand the concepts in the following section. The structure maychange and must not be hardcoded. Rather, the resources should be discoveredaccording to the RFC.

Gmail
  1. Principal
    • https://www.googleapis.com/carddav/v1/principals/userEmail
  2. Home Set
    • https://www.googleapis.com/carddav/v1/principals/userEmail/lists
  3. Address Book
    • https://www.googleapis.com/carddav/v1/principals/userEmail/lists/default
  4. Contact
    • https://www.googleapis.com/carddav/v1/principals/userEmail/lists/default/contactId

Synchronizing Contacts

The following is a general description of the operations supported. Developersshould look for the details in the relevant RFC. Requests and responses aremostly encoded in XML. These are the main operations used by clientapplications for synchronization:

  • Using CTag
    • Client programs use the getctagPROPFIND request on the Address Bookresource to determine if any contact has changed on the server andtherefore whether a synchronization is needed. The value of this propertyis guaranteed to change if any contact changes. Client applicationsshould store this value and use it only on the initial sync and as afallback when a sync-token is invalidated. Periodically polling for thegetctag property will result in throttling.
  • Using sync-token
    • Client programs use the sync-tokenPROPFIND request on the AddressBook to obtain the sync-token representing its current state. Clientapplications must store this value and issue periodic sync-collectionREPORT requests to determine changes since the last issuedsync-token. Issued tokens are valid for 29 days, and the REPORTresponse will contain a new sync-token.
  • Using ETags
    • Client applications issue a getetagPROPFIND request on the AddressBook resource (with DEPTH header equal to DEPTH_1). By maintainingthe ETag value of each contact, a client program can request the valueof contacts that had their ETag changed.
  • Retrieving contacts
    • Client applications retrieve contacts by issuing anaddressbook-multigetREPORT request. Given a list of contact URIs,the report returns all the requested contacts as VCard 3.0 values. Eachentry includes an ETag for the contact.
  • Inserting a contact
    • Client applications issue a POST request with the new contact in VCard3.0 format. The response will contain the ID of the new contact.
  • Updating a contact
    • Client applications issue a PUT request with the updated contact inVCard 3.0 format. The contact is updated if the contact already existsin the address book.
    • Client applications should include an If-Match header with thecontact's currently known ETag. The server will then reject the PUTrequest (with HTTP 412) if the current ETag on the server isdifferent from the ETag sent by the client program. This allows foroptimistic serialization of updates.
  • Deleting a contact
    • Client applications delete a contact by issuing a DELETE requestagainst the contact URI.

[tweet http://twitter.com/gmail/status/251366215262552064]

Today, Google announced on the official Gmail blog that it is adding CardDAV, the open protocol for syncing contacts, to the list of protocols supporting Gmail and Google Calendar. This means third-party clients, such as the iOS Contacts app, will now be able to sync Google contacts using the protocol rather than using alternative options like Exchange. Google noted the addition is “making it possible for 3rd parties to build a seamless Google Account sync experience.” Google also explained the benefit of the CardDAV protocol:

When you sync your Google contacts using CardDAV, you’ll be able to edit, add, and remove contacts from your device and keep them in sync everywhere you use them… If you have set up iCloud, are syncing contacts from another account, or already have contacts stored on the device, you will need to select a Default Account. New contacts created directly on your iOS device will be added to your default account.

Google provided the following instructions to sync your Google contacts on iOS with CardDAV:

  1. Open the Settings application on your device.
  2. Select Mail, Contacts, Calendars.
  3. Select Add Account…
  4. Select Other
  5. Select Add CardDAV Account
  6. Fill out your account information in the following fields:
    • -Server: Enter “google.com”
    • -User Name: Enter your full Google Account or Google Apps email address.
    • -Password: Your Google Account or Google Apps password. (If you’ve enabled 2 Step verification, you’ll need to generate and enter an application specific password.)
    • -Description: Enter a description of the account (e.g. Personal Contacts).
  7. Select Next at the top of your screen.
  8. Make sure that the “Contacts” option is turned to ON.

After you have completed the setup, open the Contacts app on your device to automatically begin syncing.

Google Carddav Settings

FTC: We use income earning auto affiliate links.More.