Je suis en mesure de récupérer le nom du contact et le téléphone, mais comment récupérer la photo de contact dans une requête?Comment lier nom de contact, téléphone et photo de contact dans SimpleCursorAdapter?
String[] PROJECTION = new String[] { Contacts.People._ID, Contacts.PeopleColumns.NAME, Contacts.Phones.NUMBER };
Cursor c = a.managedQuery(Contacts.People.CONTENT_URI, PROJECTION, null, null, Contacts.People.DEFAULT_SORT_ORDER);
return (new SimpleCursorAdapter(a,
R.layout.list_row,
c,
new String[] { Contacts.PeopleColumns.NAME, Contacts.Phones.NUMBER },
new int[] { R.id.toptext, R.id.bottomtext }));