• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

How to identify a contact item in Android address book ?

How to identify a contact item in Android address book ?

I am developing an application to add, delete and update contacts on Android PDAs, I can't think up a good way to identify a contact item in the Contact(address book) taking the following issues into consideration:
1. different people can have the same name.
2. Though a record can be identified by its _ID (eg: Phones._ID), serveral rows may belong to one specific person.
I am going to teat all the information(name, display name, phone number .....) of one person as a whole. Do you have a good way to identify them ? Or, How could I find the connection among the properties of the same person?
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones