1

I have created sample application which can call show all contacts (phone numbers). But the contacts are displayed in a new activity. But I want to create an activity with header view and footer view and the contacts to be displayed inside that view. How can I achieve this.

I have used the following code to fetch contacts

Intent intent = new Intent(Intent.ACTION_PICK);
      intent.setType(ContactsContract.Contacts.CONTENT_TYPE);
        startActivityForResult(intent, PICK_CONTACT);

Thanks Deepak

Joachim Sauer
  • 302,674
  • 57
  • 556
  • 614
Sunil Kumar Sahoo
  • 53,011
  • 55
  • 178
  • 243

1 Answers1

0

Here is a good answer How to call Android contacts list?

Community
  • 1
  • 1
Maxim
  • 2,996
  • 17
  • 19