Hi.

Misunderstand with this (getLookupUri(contactId, lookupKey)).

I store id and lookup in my application.

After resave contact (change name for example) lookup also changes
(but ID not change) I cannot select contact from DB using
getLookupUri(contactId, lookupKey). Why? In docs "When both IDs are
present in the URI, the system will try to use the long ID first. That
is a very quick query. If the contact is not found, or if the one that
is found has the wrong lookup key, the content provider will parse the
lookup key and track down the constituent raw contacts.". So long ID
is correct in my situation. So can somebody clarify this situation and
say how what information I must store to 100% select contact in future?

-- 
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

Reply via email to