Skip to content Skip to sidebar Skip to footer

Android Calendarprovider Events Color

I'm most confused on how to use Colors in the Android CalendarProvider. I can add events alright, but when I try to insert one with a particular color, this preference seems to be

Solution 1:

You need to use Events.EVENT_COLOR_KEY instead of EVENT_COLOR (which is read-only). The value you use needs to be a COLOR_KEY from the ColorsColumns table of type TYPE_EVENT.


Post a Comment for "Android Calendarprovider Events Color"