title: How to query Contacts that have both a phone number and name?
body: <p>I have following code in pre-Android2.0 API:</p>
  
  <pre><code>    String[] PROJECTION = new String[] { Contacts.People._ID, Contacts.PeopleColumns.NAME, Contacts.Phones.NUMBER };
      Cursor c = mActivity.managedQuery(Contacts.People.CONTENT_URI, PROJECTION, null, null, Contacts.People.DEFAULT_SORT_ORDER);
  </code></pre>
  
  <p>What kind of selection should I do to retrieve contacts that have both name and phone number?</p>