[maemo-developers] Address book, persistent UIDs and merging contacts

From: Aniello Del Sorbo anidel at gmail.com
Date: Wed Oct 21 20:57:44 EEST 2009
2009/10/21 Andrew Flegg <andrew at bleb.org>:
> Hi,
>
> At the summit, and according to the documentation[1], an EContact should have its *persistent* UID stored if you need to refer to a contact at a later date.
>
> However, how does this work with merging contacts? If I merge a contact (UID=1) with another (UID=2), are stored references to both persistent UIDs still valid?
>
> Intuitively, I'd guess not, but if this is supposed to be a persistent UID _and_ the contact info is still in the address book, perhaps there's some cleverness under the covers.
>
> Any info gratefully received.
>
> Thanks in advance,
>
> Andrew
>
> [1] https://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Using_Generic_Platform_Components/Using_Address_Book_API#Attribute_Convenience_Functions
>

I suppose that when you merge two contacts, one gets deleted and its
fields added to the other one.
I don't know how you do merge the contacts, but if you merge contact
UID 1 into contact UID 2, then, logically, UID 1 would be deleted,
wouldn't it?

Aniello
More information about the maemo-developers mailing list