How to use contacts API for Android 1.x and 2.x simultaneously?
<p>Mi problem is that I need to implement Contact List in my application for both android 1.5, 1.6 and 2.x.</p>

<p>I did it using the old <a href="http://developer.android.com/intl/de/reference/android/provider/Contacts.html" rel="nofollow">Contacts</a> API, not <a href="http://developer.android.com/reference/android/provider/ContactsContract.html" rel="nofollow">ContactsContract</a> because of backwards compatibility with 1.x series. But when displaying my app on 2.x the contact list is not complete. In some devices it's shown as empty, and in some devices it only displays some of the contacts in the device.</p>

<p>I know that using <a href="http://developer.android.com/intl/de/reference/android/provider/Contacts.html" rel="nofollow">Contacts</a> API on 2.x series it will show only main account contacts, but this is not the case. It looks like only recently updated contacts are shown but that's not the case either.</p>

<p>So the question is: How to correctly implement contact list for both 2.x and 1.x android version?</p>

<p>Thanks in advance</p>
