@mister_slowhand said in Some configuration and features questions:
When I create the account, I enter the full path to the address collection (http://<server>/caldav.php/<account>/addresses). Though it finds both the contact and the calendar collection. Is this normal ? I wanted to create several accounts, one per type of data.
Yes, this is by intention. DAVdroid always does auto-detection (beginning from the URL you have entered) and shows all detected resources, including the one you specified. If you don’t want the other ones to be synced, just don’t check them.
In this account, if I want to add a collection, I can say it’s only an event’s or a todo’s and I see the corresponding icons.
Is there a way to change the “calendar” collection or any collection created on the server to limit it to tasks or events ? (still in the aim to have one server collection per data type)
You have to specify that on your server. DAVdroid queries the server for
supported-calendar-component-set (https://tools.ietf.org/html/rfc4791#section-5.2.3), which is exactly whether a collection supports VEVENT, VTODO etc., and uses this information accordingly. Collections which are advertised as supporting VEVENT (and only those) will be used as calendars; collections which are advertised as supporting VTODO (and only those) will be used as task lists. Please ask your admin or server support for more details about that.
I could only find a way to specify tasks or events if I create the collection from Davdroid ?
Yes, DAVdroid is not only able to query
supported-calendar-component-set, but also to send this information when creating collections on the server.
On the contacts, I see that you use some specific fields, like in the header PRODID or DAVDROID1.X-ABLABEL.
PRODID is not a custom property, it just shows that the VCard was created by DAVdroid.
X-ABLABEL is also not defined by DAVdroid, but invented by Apple and now de-facto-standard for labels and used by many clients. The
davdroidX. grouping is arbitrary, it could also be
Is there a way to use those ? I’m thinking per-contact ringtone for instance. Or is there a way to create X-attribute fields ?
In theory, yes, but it would require cooperation between the used Contacts app and DAVdroid, because those properties are (by its nature) not specified in Android’s Contact Provider. Per-contact ringtones could be synchronized by DAVdroid as X- field, but we have chosen not to do so, because it’s not about the contact itself but about personal preferences. Imagine an address book shared by several people – they probably don’t share ringtone preferences, too.
And the last (but not least because I’m not using the events/tasks sync because of that), is it possible to add a categories/per event color matching table ? I know of the non-standard issue. I use “myphoneexplorer” that does only a one way match (outlook -> android) to set the per-event color, and it’s lost if you modify the event on the phone.
With a user-defined matching table, there should be a way to have a 2 ways sync of those ?
As you have already noticed, we have implemented that