All green! Multiple Radicale Calenders imported are all green in AOSP calendar



  • Hi,

    i set up a radicale server (Version 0.8) with several calendars. Importing Calendars with DAVDroid (great tool!) on my phone makes them all green in Calendar. Doing the same with CALDAVSync Adapter (also from f-droid) will import them in different colors, but with so slight differences (red, light red) that it is not that much more useful.

    aCAL offers the option to define color for calendars. These settings seem to be propagated to radicale server "calender.ics.props" file. Unfortunately DAVdroid doesn't care about those color definitions. I would prefer to use AOSP calender....

    Calendar color import is a feature of DAVdroid. Is there documentation available for which files and syntax DAVdroid is looking for? Manual creation, adaptation either server or client side would be fine for me...

    Installing Set Calendar Colors from Google Play is not an option.

    Any hints are welcome! Thanks in advance

    Kermit


  • developer

    aCAL offers the option to define color for calendars. These settings seem to be propagated to radicale server "calender.ics.props" file. Unfortunately DAVdroid doesn't care about those color definitions. I would prefer to use AOSP calender....

    As far as I know, there are no documented and official color properties for iCal.

    DAVdroid uses the proprietary calendar-color property for calendar creation.

    So you can set up your server to return

    <E:calendar-color xmlns:E="http://apple.com/ns/ical/">#1C4587FF</E:calendar-color>
    

    The calendar-color property and its namespace and value would have to go to calendar.ics.props in Radicale.

    You may try the OwnCloud demo (for URL, see http://davdroid.bitfire.at/configuration), it uses colors too and they work in DAVdroid.



  • Thanks a lot! - i'll give that a try and report back...



  • If you find out how to change the color, please write it here. I'd also be happy to have colors which are a bit more distinguishable from each others :-)



  • Issue is now on the mailing list of radicale:

    http://librelist.com/browser//radicale/2014/8/3/how-to-define-colors-in-calender-ics-props-for-davdroid/

    Though no solution so far...



  • Bringing down the hints from the radicale mailing list to an example the following content of calendar.ics.props solved my issues:

    {"ICAL:calendar-color": "#ffa500", "tag": "VCALENDAR", "D:displayname": "holidays"}

    DAVdroid is now syncing the colors from radicale server to the client. The tag "A:calendar-color" didn't work for some reason.


  • developer

    {"ICAL:calendar-color": "#ffa500", "tag": "VCALENDAR", "D:displayname": "holidays"}

    Great to hear that it works now.


Log in to reply
 

Looks like your connection to Bitfire App Forums was lost, please wait while we try to reconnect.