android - Can't Delete Contacts from Read-Only Accounts - Sync Adapter -
i've created custom syncadapter , given following xml:
<sync-adapter xmlns:android="http://schemas.android.com/apk/res/android" android:contentauthority="com.android.contacts" android:supportsuploading="true" android:uservisible="true" android:accounttype="@string/authenticator_account_type"/>
thousands of searches has led me 'supportsuploading="true"' not case - contacts still being marked read-only.
since of documentation has "self-explanatory" vibe (which not case), have no idea begin. please give me direction on this?
edit: verified account in line google has set accounts:
the problem turned out contacts information has set in particular way. includes having xml file contactsaccounttype definition, sync adapter xml file (sync-adapter) android:supportsuploading="true" set... , there appears no 1 particular solution - if not set fully, os treat contacts read-only.
i able copy default contact aosp , modify it, removing things slowly, 1 @ time (as mentioned, 1 wrong removal means read only) until got down necessary.
the downside is, because both os function related return contact editable, not mean os allow it.
Comments
Post a Comment