I want to retrieve a cursor where in one row contains both name and phone number. Is the way to do this pretty, without any loops?
Uri uri = ContactsContract.Data.CONTENT_URI;
getContentResolver().query(uri,
new String[] {ContactsContract.Data._ID, Phone.NUMBER, StructuredName.GIVEN_NAME}, null, null, null)