1. Introducing Channels - a new way to chat with other Android users!
    Dismiss Notice

How to identify a contact item in Android address book ?


Last Updated:

  1. huyiwatching

    huyiwatching New Member This Topic's Starter

    Joined:
    Nov 1, 2010
    Messages:
    2
    Likes Received:
    0
    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?
     

    Advertisement
  2. huyiwatching

    huyiwatching New Member This Topic's Starter

    Joined:
    Nov 1, 2010
    Messages:
    2
    Likes Received:
    0
    resolved, using the Phones.PERSON_ID.
     
  3. KlaymenDK

    KlaymenDK Well-Known Member

    Joined:
    May 29, 2009
    Messages:
    1,217
    Likes Received:
    130
    Welcome to the forum! :D

    I'm glad you found out. I hope we'll be able to help you some other time. Stay cheerful!
     

Share This Page

Loading...