擅长:python、mysql、java
<p>你的问题似乎有点笼统,也没有列出你看了什么资源,为什么会迷路。在</p>
<p><a href="https://www.youtube.com/watch?v=LzgomnabxdM" rel="nofollow">This presentation</a>有点老了,但是展示了*DAV协议如何工作的基本原理。<a href="http://sabre.io/dav/building-a-carddav-client/" rel="nofollow">Building a CardDAV Client</a>是另一个很好的起点。在</p>
<p>CardDAV本身在
<a href="https://tools.ietf.org/html/rfc6352" rel="nofollow">RFC 6352</a>,以及相关的RFC:
<a href="https://tools.ietf.org/html/rfc4918" rel="nofollow">WebDAV</a>,
<a href="https://tools.ietf.org/html/rfc3744" rel="nofollow">WebDAV ACL</a>,
等等</p>
<blockquote>
<p>What output format should I use ?</p>
</blockquote>
<p>CardDAV请求和响应使用
<a href="https://en.wikipedia.org/wiki/WebDAV" rel="nofollow">WebDAV</a>,
因此是XML。
实际有效载荷是
<a href="https://en.wikipedia.org/wiki/VCard#vCard_3.0" rel="nofollow">vCard v3</a>。在</p>
<p>如果要查找示例代码:
<a href="http://calendarserver.org" rel="nofollow">Apple CalendarServer</a>
是一个用Python编写的成熟的CalDAV/CardDAV服务器。
Radicale是另一个,但是你已经发现了(更具体地说为什么这对你没有帮助,Radicale对我来说是一个很好的起点)。在</p>
<p>最后:我认为Android没有内置CardDAV支持。大概你在用一个同步插件?在</p>