0

In my App I'm retrieving message from native Messaging app and displaying them in listView.

Retrieving messages works perfectly fine, but the problem is that Phone Number are 
displaying instead of Sender Contact(Person) saved name. 

Code used to fetch messages from inbox is :

cursor = getContentResolver().query(Uri.parse("content://sms/inbox"), null, null, null, null);

So, is there any way which i can achieve the same(name instead of phone numbers).

Link for complete code

Community
  • 1
  • 1
Android beginner
  • 245
  • 2
  • 6
  • 22

0 Answers0