I need to display contacts in my app. Just like whatsapp, show a small icon on the right for each item in list view.
I create a custom provider to copy the whole contact and register a observer for CRUD. Also I upload all the phone numbers to sever ,checking whether it is registered. My problem is it is rather slow. If delete 5 contacts, my database always keep 1-2 contact undeleted. That because the observer' on change called too frequently. Anyway, my local contact table not always sync with phone native table. And I had to spend a lot effort on sync. Is there any method easier? Or I just read native phone table, and extend the table (adding some extra columns: avatar, status, last login time. etc).? I know it might involved with syncadapter and account manager, contentprovider. but How to extend that table? or How to set a customize MIME type for existing contact? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/b7936334-281b-423b-9d5f-6d987634e301%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.