Hi there, I'm aiming to develop an application on Android 1.5 that is required at one point to list all contacts and display the type of contact ie SIM, Phone or Google. I can easily list all the contacts by using
Cursor curAllContacts = getContentResolver().query(People.CONTENT_URI, null, null, null, null); And looping through the cursor and I can use code like the sample below to get fields of data int intNameIndex = curAllContacts.getColumnIndex(People.DISPLAY_NAME); String strNameValue = cur.getString(intNameIndex); My question is, is there any field in the people table or a related table that holds a value to define where the contact came from (SIM, Phone or Google)? Many thanks -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en