contacts sync with my own application like skype or whatsapp

你说的曾经没有我的故事 提交于 2019-12-20 17:30:52

问题


Iam making an android application similar to skype what i want to know is how to synchronize android contacts with my application so that the numbers which are registered with my application and are also in my android contacts got a symbol. For example in your contact list you see a skype icon or whatsapp icon with those contacts who are registered with skype or whats app.Anyone can guide me what to do.thanks!


回答1:


Please refer to the android.provider.ContactsContract class. Since it is very broad, I recommend you to first take a look at the SDK description of ContactsContract.RawContact. There you will find description with code snippets for basic operation on Contacts.

Also, take a look at the Android SDK code examples:

Android Sample - ContactOperations



来源:https://stackoverflow.com/questions/11622909/contacts-sync-with-my-own-application-like-skype-or-whatsapp

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!