Link Android application with contacts/phonebook programmatically

风格不统一 提交于 2019-11-30 09:39:29
Jeno Karthic

You need to use Contacts Provider. Class ContactsContract.Contacts provide access to all the contacts available in android mobile.

You need to have Read contacts permission in your app manifest.

<uses-permission android:name="android.permission.READ_CONTACTS" />

Refer following Android developer site. http://developer.android.com/training/contacts-provider/index.html

Source code can be downloaded at http://developer.android.com/shareables/training/ContactsList.zip

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