Update Calendar Event Color

Post your questions and help other users.

Moderator: Martin

Post Reply
atuguesp
Posts: 7
Joined: 21 Oct 2013 02:29

Update Calendar Event Color

Post by atuguesp » 21 Jun 2016 00:09

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".

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Update Calendar Event Color

Post by Martin » 21 Jun 2016 19:22

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

Post Reply