Page 1 of 1

Update Calendar Event Color

Posted: 21 Jun 2016 00:09
by atuguesp
Hi Martin, how can I update a calendar event color with the Execute Root Command?.
I can update the Calendar Title with:

content update --uri content://com.android.calendar/events/{event_id} --bind title:s:{ContactName}

But I have not found the "bind" parameter to update the "Event_Color".

Re: Update Calendar Event Color

Posted: 21 Jun 2016 19:22
by Martin
Hi,

I was not aware that it's even possible to change the color of one event. Isn't this a property from the calendar itself (content://com.android.calendar/calendars, field calendar_color)?

Regards,
Martin