title: I want to get whatsApp profilepicture but only getting name and contactnumber?
body: <p>I want to get WhatsApp profile picture and number but using contentResolver I will getting only name and number using following snippet code.</p>
  
  <pre><code>private void showContactWhatsApp(){
  
      ContentResolver cr = getContentResolver();
  
      Cursor contactCursor = cr.query(
              ContactsContract.RawContacts.CONTENT_URI,
              new String[]{ContactsContract.RawContacts._ID,
                      ContactsContract.RawContacts.CONTACT_ID},
              ContactsContract.RawContacts.ACCOUNT_TYPE + "= ?",
              new String[]{"com.whatsapp"},
              null);
  
  
      ArrayList&lt;String&gt; myWhatsappContacts = new ArrayList&lt;&gt;();
  
      if (contactCursor != null) {
          if (contactCursor.getCount() &gt; 0) {
              if (contactCursor.moveToFirst()) {
                  do {
                      //whatsappContactId for get Number,Name,Id ect... from  ContactsContract.CommonDataKinds.Phone
                      String whatsappContactId = contactCursor.getString(contactCursor.getColumnIndex(ContactsContract.RawContacts.CONTACT_ID));
  
                      if (whatsappContactId != null) {
                          //Get Data from ContactsContract.CommonDataKinds.Phone of Specific CONTACT_ID
                          Cursor whatsAppContactCursor = cr.query(
                                  ContactsContract.CommonDataKinds.Phone.CONTENT_URI,
                                  new String[]{ContactsContract.CommonDataKinds.Phone.CONTACT_ID,
                                          ContactsContract.CommonDataKinds.Phone.NUMBER,
                                          ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME},
                                  ContactsContract.CommonDataKinds.Phone.CONTACT_ID + " = ?",
                                  new String[]{whatsappContactId}, null);
  
                          if (whatsAppContactCursor != null) {
                              whatsAppContactCursor.moveToFirst();
                              String id = whatsAppContactCursor.getString(whatsAppContactCursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.CONTACT_ID));
                              String name = whatsAppContactCursor.getString(whatsAppContactCursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME));
                              String number = whatsAppContactCursor.getString(whatsAppContactCursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.NUMBER));
  
                              whatsAppContactCursor.close();
  
                              //Add Number to ArrayList
                              myWhatsappContacts.add(number);
  
                              Log.e(TAG, " WhatsApp contact id  :  " + id);
                              Log.e(TAG, " WhatsApp contact name :  " + name);
                              Log.e(TAG, " WhatsApp contact number :  " + number);
                          }
                      }
                  } while (contactCursor.moveToNext());
                  contactCursor.close();
              }
          }
      }
  
      Log.e(TAG, " WhatsApp contact size :  " + myWhatsappContacts.size());
  }
  </code></pre>
  
  <p>I want to get WhatsApp profile picture like SyncMe app.</p>
  
  <p>I wait to get WhatsApp contact list with name, number, and thumbnail.</p>