I am develop an App in which I access Message from body,Mobile Number from address,message id,person-gives a int value( i don't know about what is person) from this code:----
Uri uriSMSURI = Uri.parse("content://sms/inbox");
Cursor cur = getContentResolver().query(uriSMSURI , null, "read=0",
null, null);
Its working fine:---
now the problem is that--If any mobile number is saved in my mobile contact list than i want to show the name in my ListView
otherwise I want to show the mobile number
which i access from address
feed.
How I will get Name from the Inbox Uri
?
Any Help will be Appreciated.
Thanks & Regards, Deepanker