> Last question is about the Contacts PERSON_ID and how long-lived that > is. It is guaranteed > to never change (though may be removed obviously). Well not truly > guaranteed but will only > cycle after it runs out of unused integers. Or may they change value > as contacts are removed?
_ID values are typically meant for short-term reference only, such as when referring to an item through Intent.setData(). So, don't trust them to be static and unique. If you're looking for a permanent reference to a contact, use a combination of _SYNC_ACCOUNT and _SYNC_ID, which will uniquely identify each contact. This also applies to any other provider on the system that offers syncing, such as Calendar. -- Jeff Sharkey [email protected] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

