How to identify a contact item in Android address book ?

Discussion in 'Android Apps & Games' started by huyiwatching, Nov 1, 2010.

  1. huyiwatching

    huyiwatching New Member
    5

    Nov 1, 2010
    2
    0
    5
    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
    5

    Nov 1, 2010
    2
    0
    5
    resolved, using the Phones.PERSON_ID.
     
  3. KlaymenDK

    KlaymenDK Well-Known Member
    143

    May 29, 2009
    1,217
    130
    143
    Denmark
    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...