I am new to the Android Development, Please tell me how to read contacts from Phone and how to add new Contact to the Phone.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Please refer to the
android.provider.ContactsContractclass. 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-sdk-windows\samples\android-8\SampleSyncAdapter\src\com\example\android\samplesync\platform\ContactOperations.java