title: How do i get the SMS Sender Contact (Person) saved name using "content://sms/inbox"
body: <p>In my App i want to retrieve the SMS sender saved Name using below code but it always return null. Please suggest me whats the convenient way to get the sender name.</p>
  
  <pre><code>Uri SMS_INBOX = Uri.parse("content://sms/inbox");
           Cursor c = getContentResolver().query(SMS_INBOX, null, null, null, null);
           android.util.Log.i("COLUMNS", Arrays.toString(c.getColumnNames()));
  
              try {
                  if(c.getCount()&gt;0)
                  {
                      while (c.moveToNext()){
                       Log.d("SMSss", "Contact : "+c.getString(2)+"\n"
                           +"msg : "+c.getString(11)+"\n"
                           +"ID : "+c.getString(0)+"\n"
                           +"Person : "+c.getString(3));
                      }
                  }
              } catch (Exception e) {
  
              Log.d("mmmmmmmmm"," "+ e.getStackTrace());
              }
  </code></pre>
  
  <p>i am using following permission in menifest</p>
  
  <pre><code> &lt;uses-permission android:name="android.permission.READ_SMS"/&gt;
  &lt;uses-permission android:name="android.permission.READ_CALL_LOG"/&gt;
  &lt;uses-permission android:name="android.permission.READ_CONTACTS"/&gt;
  &lt;uses-permission android:name="android.permission.WRITE_CONTACTS"/&gt;
  </code></pre>
  
  <p>Please suggest me how to get. Thanks in advance.</p>