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
  • 291,719
  • 55
  • 540
  • 600
Sunil Kumar Sahoo
  • 51,611
  • 53
  • 174
  • 242

1 Answers1

0

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

Community
  • 1
  • 1
Maxim
  • 2,981
  • 15
  • 18