How do I get certain types of contact numbers depending on what's given from a contact list?
<p>I want to get a contact list and I have successfully done it. My problem is, some of my contacts have multiple numbers, some only have one. So, when retrieving a contact I want to do this:</p>

<ul>
<li>If a contact has multiple numbers, return only the <em>mobile</em> number</li>
<li>If a contact has only one number, just return that number.</li>
</ul>

<p>How can I accomplish this?</p>
