posted 13 years ago
I have to get distinct raw contact id using content resolver.
Cursor cursor = getContentResolver().query(Data.CONTENT_URI, null, null, null, null);
in this query, 3rd parameter is selection. by passing null we will get all rows.
but i want rows with unique raw contact id.
what should i pass in selection.
Waiting for reply.