Hi Alain, To explain you a little details, When we do GET contacts, we will be getting a chunk of json data of a contact with all the information including attributes etc in it, so for the offline cache we will be saving the contacts information in a table and related attributes data in separate table (here contact id will be foreign key).
On a regular interval we will be syncing the data from client to server and vice-versa. So, when ever we do the sync, we will be getting the modified contacts along with the attributes to it, So, in-order to update the local cache we need to know which all attributes are modified or added newly so for this if we get at-least the resource attribute id's for each attribute for that contact it will be a straight update on that attribute row, otherwise we need to clean the local attribute cache and re-write the new attribute data which we get from the server for that contact. Please let me know if you have any better solutions of handling the attributes. Note: we are using protocol GData API's. Thanks in advance, -- Regards, Satish Bellapu -- You received this message because you are subscribed to the Google Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html
