title: access the contact number of a contact
body: <p>I am not able to access the contact number of a contact. 
  I got this code from internet</p>
  
  <pre><code>Intent intent = new Intent(Intent.ACTION_PICK);           
              intent.setType(ContactsContract.Contacts.CONTENT_TYPE);           
              startActivityForResult(intent, PICK_CONTACT);           
              break;      
              }  
          }
  
  
  
  public void onActivityResult(int requestCode, int resultCode, Intent intent)  {    
      if (requestCode == PICK_CONTACT)   
      {                
          Cursor cursor =  managedQuery(intent.getData(), null, null, null, null);       
          cursor.moveToNext();       
          String contactId = cursor.getString(cursor.getColumnIndex(ContactsContract.Contacts._ID));        
          String  name = cursor.getString(cursor.getColumnIndexOrThrow(ContactsContract.Contacts.DISPLAY_NAME));         
          Toast.makeText(this, "Contect LIST  =  "+name, Toast.LENGTH_LONG).show();    
  
      } 
  </code></pre>
  
  <p>But it displays only the name of the contact.
  I want the contact's phone number. </p>