G wrote:
> Please help cause I'm pulling my hair out over here. How can lookup
> the Person based on the info in CallLog.Calls? I've tried matching
> Phones.NUMBER to Calls.NUMBER, I've played a little bit with
> Phones.NUMBER_KEY (what is the normalized format btw?) and I even
> tried doing a LIKE search while replacing any non-numeric character
> with a %. I've had no luck actually looking up people based on CallLog
> info.

Bear in mind that phone calls may come and go to people not in the
Contacts, and that the Contacts may change (people added, people
removed, etc.).

AFAICT, the CACHED_* series of attributes in the CallLog.Calls content
provider contain the contact information as it was at the time of the
call, if the call was associated with a contact.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android 1.5 Programming Books: http://commonsware.com/books.html

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