Quantcast
Channel: How to import contacts from phonebook to our application - Stack Overflow
Browsing latest articles
Browse All 5 View Live

Answer by anupam sharma for How to import contacts from phonebook to our...

You can use this code inside the button.setonclicklistener.Intent intent = new Intent(Intent.ACTION_PICK,ContactsContract.Contacts.CONTENT_URI);startActivityForResult(intent, PICK_CONTACT);

View Article


Answer by Shrunottara Koppar for How to import contacts from phonebook to our...

Intent intent = new Intent(Intent.ACTION_GET_CONTENT); intent.setType(ContactsContract.CommonDataKinds.Phone.CONTENT_ITEM_TYPE); startActivityForResult(intent, 1);Use this piece of code under the...

View Article

Answer by faceandroid for How to import contacts from phonebook to our...

give you some codes: ContentResolver cr = getContentResolver(); Cursor cursor = cr.query(ContactsContract.Contacts.CONTENT_URI, null, null, null, null); while(cursor.moveToNext()){ //get name int...

View Article

Answer by Nic Strong for How to import contacts from phonebook to our...

If you query the ContactsContract.Contacts content provider you will get cursor with the list of contacts.

View Article

How to import contacts from phonebook to our application

I am developing the android application ,when ever user clicks on the button it should show all contacts from the phone book with in a table.How can i achieve it,any one can help me.thanks in advance

View Article

Browsing latest articles
Browse All 5 View Live