The DAViCal CalDAV & CardDAV Server is a repository for calendar, todo, journal and vcard entries to be accessed via CalDAV clients such as Evolution, Lightning, Apple iCal or the iPhone. You need to download both DAViCal & the AWL library.
CalDAV sync for Android
----
Stopped working on it. Doesn't make any sense to spend more time on it; I recommend e.g. DAVdroid as an opensource and ready-to-use solution on clientside.
----
For code look at:
https://github.com/e7o-de/android.caldav