I'd have a follow up question on this: I'm using the Android Calendar Provider with account_type = 'com.google' to display appointments. I'm also associating images with those appointments in my own database by using the EVENT_ID of the appointment as a reference. Is it possible to keep a reference to the same appointment across multiple devices without using these SYNC_DATA columns?
On Thursday, November 15, 2012 8:56:20 PM UTC+1, Christopher Masser wrote: > > Thanks for your answers! I understand now. > Best regards, > Christopher > > On Monday, November 12, 2012 2:57:43 PM UTC+1, Christopher Masser wrote: >> >> CalendarContract.EventsColumns.SYNC_DATA1 - SYNCDATA10 are said to be >> columns of the content provider for use with sync adapters. Does anybody >> know if there is some convention for what is the use of these columns? I've >> realized that on my device SYNC_DATA5 stores the date last modified and >> SYNC_DATA1 seems to store the Google event ID. So it seems whenever the >> Calendar app syncs with Google Calendar, these columns are modified. >> >> However, if I choose to use one of these columns for my sync adapter, how >> can I make sure another application doesn't use the very same columns and >> they override each other? >> >> If SYNC_DATA5 is ALWAYS used by Google Calendar to store the date last >> modified I would be fine with just using that for my sync logic, I just >> need to be certain that this is a convention. >> >> -- -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

