Skip to content Skip to sidebar Skip to footer

How Do I Get My Custom Account Type To Show Up In The Android Contacts App?

I've created a custom account type and I can successfully create contacts of that type in the android ContactsContract ContentProvider. But I'm having a lot of trouble figuring out

Solution 1:

I finally figured out what the issue was.

In my sync-adapter element the android:contentAuthority attribute was set to a custom content authority for my own contacts ContentProvider, which is technically what I use to query and write contact data. But it turns out to get your contacts to show up in the default contacts app this attribute must be set to "com.android.contacts".

Post a Comment for "How Do I Get My Custom Account Type To Show Up In The Android Contacts App?"