Contacts Provider Not Appears In "google Contacts Application"
I wrote a Contacts provider. It is quite configurable via 'Settings/Accounts', it correctly sync contacts from remote server and these contacts are visible in the 'Google contacts'
Solution 1:
I assume you've created an xml file for you SyncProvider, that xml file has a field userVisible
, make sure it's true
:
<?xml version="1.0" encoding="utf-8"?><sync-adapterxmlns:android="http://schemas.android.com/apk/res/android"android:contentAuthority="com.example.my_sync_provider"android:accountType="com.example.my_type"android:userVisible="true"android:supportsUploading="true"android:allowParallelSyncs="true"android:isAlwaysSyncable="true" />
read more here: https://developer.android.com/training/sync-adapters/creating-sync-adapter.html and also this is a must read: http://www.c99.org/2010/01/23/writing-an-android-sync-provider-part-1/ (part 2 as well)
Post a Comment for "Contacts Provider Not Appears In "google Contacts Application""