06-30-2010 11:20 PM - edited 07-01-2010 12:20 AM
That's great!! This is much, much faster than the Addressbook lookup and it handles the phone number formatting issues.With over 4800 contacts in the Addressbook, using the PIM API and a template to optimize the search was talking over 45000 ms seconds on a Bold 9000. Using the PhoneCallLogID takes 6 ms.
Thank-you for sharing that!
09-03-2010 07:48 PM
This checks the Addressbook - I don't even think it looks at the call logs or cares what you do with them. Basically is the Blackberry can identify the incoming number and displays the matching contact entry name on the incoming phone display, then this will work. It appears to handle incoming + and country codes correctly.
08-27-2012 07:39 PM
Superb! I've sifted through reams of useless code over the last week just trying to retreive the stored caller name from the address book on an incoming call, and you come up with this one line perfect solution. Top man!!!! Thanks for what you wrote 3 years ago.