I'm retrieving list of last sms/mms conversations using following query:
String[] columns={"type", "address", "date", "body", "conversation_id"};
Cursor cursor=context.getContentResolver().query(Uri.parse("content://mms-sms/conversations"), columns, null, null, "date desc");
Can anyone advise me how to get in the same query also contact name? Specifically field ContactsContract.PhoneLookup.DISPLAY_NAME
?
I mean, I understand how to get those field in separate query, but I need to get it in the same query as for conversations.
inner join
and get display name in the same query. Why it's impossible in case of ContentResolver's - anyhow we understand that it's based on SQL queries... – Estas