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