retrieve only the contacts having email address android
<p>I am developing an android application that works for 2.1 and further.In my application i am trying to retrieve contacts using below code.</p>

<pre><code>Intent intent = new Intent(Intent.ACTION_PICK,ContactsContract.Contacts.CONTENT_URI);
           startActivityForResult(intent, 1002);
</code></pre>

<p>then retrieving the email address of clicked user on activity result.  </p>

<p>Other than displaying all contacts anf then checking for their email address I would like to display only the users with email address.<br>
Is it possible using default contacts intent,else how can i get it done?  </p>

<p>Please forward me your valuable opinions.</p>
