-
One more question, is in some way possible to add the "ContactsContract.Data.IS_READ_ONLY" flag on add/update with the actual release? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 19 replies
-
I have not played around with that field. I'll take a look at it this week to see what it's all about =) |
Beta Was this translation helpful? Give feedback.
-
I do have a question. The title of this discussion is about setting Contacts to be read-only, yet the ContactsContract constant you are referencing is specific to Data table rows. Are you interested in making data table rows read-only or also RawContact table rows too? I remember in a different discussion I was unable to read/write the value of Since you are working on sync adapters, you have higher privileges than regular applications. This library is tailored for application usage, not sync adapters. So, I don't want to add too much sync-adapter-only functionality into the library (at least for now). However, if it can also be used by regular applications in some way, I will be inclined to add support for it into this library =) Anyways, I will have a deeper look into read-only RawContacts and Data rows this week. |
Beta Was this translation helpful? Give feedback.
With all that said, I created several issues that should support your use case. I don't necessarily agree that these things should be added to this library. However, I can see value in it since it can help devs that are trying to do the same or similar things as you.
I just have to make sure these new additions are properly documented so that average users of this library do not use them unnecessarily or incorrectly.
I will include all of the above issues in the next release, 0.3.1. I'm busy with work and life so I may not be able to make the release until later next week 😄