View call logs, but with contact phone numbers, name, and not only

I have to be able to show that a list of the call connects to my request.  But for thosenumbers who have a name in the address book, instead of simply to view phone numbers, I have to be able to show the name of the

number.  (just like the native blackberry app call log done)

Up to now the following seems to work OK, as long as the amount of data is small:

  • When the main screen is first created, walk the database by calling PIM.getInstance () .openPIMList)
  • Adds a new entry in a hash table for each unique telephone number in the database that points to the name of the contact
  • After that the Hashtable is fully charged, list of call logs
  • As the newspapers call list is displayed, phone numbers search in the hash table, replace with name when a match is found

But when the Contact database grows, as the order of 500 entries, it takes a lot of time for

walk from the database to generate the hash table (10 seconds), and while what the application is blocked

and things seem stuck to the user. This must occur before the first screen is displayed and so after

the user clicks on the icon and the first screen is being built, the user is thinking ' what's going on..?

until the screen finally opens.

Is there an API I can tap in which already provides this mapping for me?  (given a call number journal or by phone,

Efficiently search the name of the contact with that phone number, if necessary).  That way I wouldn't have to build

the hash table.

Or, possibly, some advice on a simple signal of progress to the user while loads of app... This might be simpler than

trying to tackle the problem with a multi-threaded approach.

Advertisement

Unfortunately there is no way, I was. I tried to re - implement research of the phone application and came across this as well, as well as some other hidden implementations that are much faster then the public APIs.
You can try to work with itemsByName, it is also not very fast, according to the number of entries you have.

Maybe PhoneCallLogID methods can help you?

Tags: BlackBerry Developers

Similar Questions

  • four digits starting with 1 0001 and not only the numbering.

    How do I re name and renumber a folder of photos and include four numbers starting with 1 0001 and not only the numbering. I need this for an another computer program can keep the images in numeric order

    Now I have number say marriage... 1 Smith_Jones ect up to 659, but a program that I use to create the albumes blurs all my photos because they say the digital system must have 4 digits so number 1 is 0001 so stay in order.  I have d see how to assign 3 zeros on numbers-# 344 front would therefore 0344 LR wants to keep 344.

    In the rename library use the following custom parameters.

  • I could not find download Windows Mobile Device Center 6.1 so I can download pic & videos from my phone to my computer. I need assistance with their phone is off and on computer any ideas please help.

    I could not find download Windows Mobile Device Center 6.1 so I can download pic & videos from my phone to my computer. I need assistance with their phone is off and on computer any ideas please help.

    See http://support.microsoft.com/kb/931937

  • I am creating a stamp of Certification of drawing dynamic shop with fields of text 'Name' and 'Date '. I tried different ways within Javascript, but I can't seem to make it work. The Date and time remains static on the stamp when it is inserted and

    I am creating a stamp of Certification of drawing dynamic shop with fields of text 'Name' and 'Date '. I tried different ways within Javascript, but I can't seem to make it work. The Date and time remains static on the stamp when inserted and always reflect when the stamp was created and the name is always my name. I try to have the user name or the username inserted so that he who is the insertion of the postmark of the stamp automatically inserts their name and what day and time the stap is inserted. I can't get this dynamic stamp works like the default Adobe Acrobat Dynamic stamps. Can anyone help with this one. Thank you

    Have you created a page template for your stamp? Did name the template of the page correctly? It's the right format:

    #InternalStampName = display name of stamp

  • How to use the selection tool to resize a text box? Before I was able to click on the text box with the selection too in order to resize, but now I click on it and it only gives me 'path' or 'anchor' options.

    How to use the selection tool to resize a text box? Before I was able to click on the text box with the selection too in order to resize, but now I click on it and it only gives me 'path' or 'anchor' options.

    Ashley,

    What about window > show the rectangle enclosing (Ctrl / Cmd + Shift + B to toggle)?

  • Connect you to Skype does not work with the correct user name and password

    I tried to login with my correct user name and password, but received the error: unable to connect to Skype.

    So, I reset the password and can log on the Skype website.

    Tried to connect to Skype and the same error: unable to connect to Skype.

    I use

    Mac OS X Version 10.9.5.

    Skype 5.8.0.1027.

    OK, I think I thought about it on my own. I had not used Skype for some time. I just DLed the latest version and here is my connection works fine. Hope this helps you.

  • Accounts iCloud duplicate not appearing in the Contacts on my Mac and I only have an iCloud account.

    Accounts iCloud duplicate not appearing in the Contacts on my Mac and I only have an iCloud account. That's why I duplicate contacts. I went though the routine was suggested to merge duplicates, but it never finds any merger of duplicates. This problem was supposedly degenerated to the genius of Apple about two weeks ago, but I have received no updates since. Any suggestions?

    What have you tried so far. Have you tried to turn the contacts of in your iCloud settings, have you tried signing and to iCloud.

  • I set up Windows 7 to use fingerprint or password to logon. How can I get rid of the fingerprint logon and back by connecting with just the user names and passwords?

    I have configured Windows 7 to use the fingerprint or password login screen. I can't footprint material and do not want to use, but can not find where you reconfigure to return by connecting with just user profile names and passwords.

    Hello

    Welcome to the Microsoft Vista answers Forum!

    You can try the steps below and check if the problem is resolved.

    1. click on start.

    2. click on Control Panel.

    3. click on hardware and sound.

    4. now click biometric devices.

    5. now click on biometric parameters.

    6. now you should check biometrics off the coast of the option button.

    7. click on save changes.

    8. click on close.

    Now search for the question.

    Learn more about the biometric device, you can visit the link provided below.

    http://TechNet.Microsoft.com/en-us/library/dd759228.aspx

    Thank you, and in what concerns:

    I. Suresh Kumar-Microsoft Support.

    Visit our Microsoft answers feedback Forumand let us know what you think.

  • I just downloaded Creative Suite 6 on my new MacBook and not only the interface seems a bit different but I noticed that the oil paint filter is not available.  I used the same discs on my office iMac and the filter still works there.

    I just downloaded Creative Suite 6 on my new MacBook and not only the interface seems a bit different but I noticed that the oil paint filter is not available.  I used the same discs on my office iMac and the filter still works there.  I use it often and would appreciate any help to recover!

    Please download and install Photoshop CS6 from the following link: download Creative Suite 6 applications

  • After hosting my site created with adobe muse on a ftp server, can I change my site on muse adobe later and update it on this same server ftp with the same domain name and do not have to pay for hosting again?

    After hosting my site created with adobe muse on a ftp server, can I change my site on muse adobe later and update it on this same server ftp with the same domain name and do not have to pay for hosting again?

    Yes, no extra accommodation payment is required. After editing your site and savings, click download file to the host of VTT... The info should auto fill with the same information that you used to download the site the first time. You can choose to download only files "changed" or "all files". Click OK and the old files will be overwritten.

  • BlackBerry Smartphones not successfully added BB Messenger contacts / phone numbers unlisted / calls list

    Hello! I went from Cruve from BB to BB "BOLD" this weekend and while I tried to add some of my contacts from MSN messenger on my new "BOLD" of BB BB, some of them appear as accepted invitation, but instead of their name, their ID number is displayed. Whenever I send them messeges they they receive that way.

    What can I do?

    Also, I added some of my phone numbers and when I received a call from some of them, their number appeared instead of their names, as if they weren't part of my address book.

    Finally, my calls list does not appear in chronological order...

    Help!

    Thnks

    Hi michron and welcome to the BlackBerry Forums

    Most important here is the following, you have the old blackberry with you?, if your answer is Yes, follow this procedure.

    1 - Clean your BlackBerry "BOLD", go to menu, options, security options, press menu again and wipe of the handheld.

    2 connect the old BlackBerry to BlackBerry Desktop Manager and choose the Option of switch device, program read all the information on your device, after that this request automatically to connect the new BlackBerry "BOLD" and automatically adds information about the new device, no more action.

    Included that all contacts in BlackBerry messenger production inserted to the new device.

  • For some contacts, phone numbers are not displayed

    Hello

    Happy to have the Atrix on gingerbread. It solves my problem of bluetooth. now I walked into something else, and I wonder if you can help...

    1. I noticed that for some contacts who have 4 phone numbers and 2 emails, phone numbers are jamed all together in a single line, rather than a list. no idea how to solve this problem? Moreover, contacts are already subject in my mail to google contacts.

    2. how to add a voice tag to a name/contact? I found my atrix had trouble recognizing a name and always messed with other contacts. So I want to find a way to make it easier for the phone to recognize when I say "Call xxx" (somewhat unusual for some non-English names)...

    I thank very you much for your help in advance.

    The best

    Jason


  • Treo 800 Call Log shows no incoming phone calls

    The function to call on my Treo 800 log shows that outgoing telephone calls.  Is it possible to see a list of recent incoming phone calls (calls not missed, but all incoming calls)?

    The call log can be filtered to show incoming only, only not coming out that you missed, or all calls. It is set using the Menu key while you view the call log. If your incoming calls are absent from all calls, it sounds as if there might be a softwere problem.

    Message is about: Treo 800w (Sprint)

  • Using Facetime and iMessage with multiple phone numbers

    I often travel internationally. When abroad, I get a local SIM card and so a local phone number. The problem is, anyone trying to send messages to my becomes phone number inside a bounced message until I go home. I am looking for a solution to this problem. What I want to do logically is to pass all my iMessage and Facetime messages to my phone number internal to any international phone number that I have the chance to have for the week or two, I'm out of the country, without actually transferring phone calls for the international number.

    How can I accomplish this?

    If during the passage of an international SIM inside, if I use a different AppleID to save the number, can I add the domestic AppleID to iMessage and Facetime and have forward SMS messages to internal phone to my phone number - actually give my 2 phone numbers for text and using Facetime?

    What happens if I have a second iPhone (say one IS minimal) think I swap my SIM home - then I have two iPhones, one with an international SIM card and the other with an internal SIM card - then - I associate the two phones with the same AppleID (as if I had the same AppleID on an iPhone and iPAD) and make it work? In other words, a text Message sent to my iPhone internal SIM also towards my international SIM iPhone? This I must have my internal iPhone with me, or I can leave home and have it still work?

    Any suggestions for other ways to solve this problem?

    Thank you!

    HU

    You should always be available for the Apple ID that is associated with a phone number at one point.

    SMS is out of scope for this, because it is a function of carrier managed by your carrier at that time and linked to your SIM card.

    You put a new SIM card in your phone, FaceTime and Messages should register again your Apple ID for/with this new phone number shortly after. I do not think it deal only with the functions of automatic reference to FaceTime or Messages, because they are themselves a transfer function.

    To the Apple server... "go get my friend with the Apple ID of [email protected]." Server Apple think and said: "OK, it uses the 888-555-1212 phone number right now, so I'll send your application there.

    Ring, ring... you download a FaceTime application.

  • Call log error with qmetatype.h?

    I have this code to get the newspaper to call as a data source

       CallHistoryService callHistoryService;
    
        // Retrieve the default call history account on the device. The
        // ID of a valid account is required when calling callHistory()
        bb::pim::account::Account defaultAccount = callHistoryService.defaultAccount();
    
        // Create a default-constructed CallHistoryFilter. By passing
        // this type of CallHistoryFilter to callHistory(), all calls
        // in the call history are returned
        CallHistoryFilter defaultFilter;
    
        // Create a CallHistoryParam with contact search disabled.
        // Contact search is useful if you want to identify the contacts
        // that were involved in a call
        CallHistoryParam callHistoryParams;
        callHistoryParams.setContactSearchEnabled(false);
    
        // Create a CallHistoryError to store the result of callHistory()
    //    CallHistoryError::Type *callHistoryError = new CallHistoryError();
    
        // Retrieve the call history
        QList callHistoryResults = callHistoryService.callHistory(defaultAccount.id(), defaultFilter, callHistoryParams);
    
        QVariant resultList=QVariant::fromValue(callHistoryResults);
    
        emit calllogLoaded(resultList);
    
    signals:
        void calllogLoaded(const QVariant &data);
    

    But I got this error

    c:/bbndk/target_10_3_1_995/qnx6/usr/include/qt4/QtCore/qmetatype.h:169:80: error: 'qt_metatype_id' is not a member of 'QMetaTypeId >'
    c:/bbndk/target_10_3_1_995/qnx6/usr/include/qt4/QtCore/qmetatype.h:169:83: warning: control reaches end of non-void function [-Wreturn-type]
    cc: C:/bbndk/host_10_3_1_12/win32/x86/usr/lib/gcc/arm-unknown-nto-qnx8.0.0eabi/4.6.3/cc1plus caught signal 1
    Makefile.Debug:178: recipe for target 'o.le-v7-g/.obj/CallLogSource.o' failed
    make[2]: *** [o.le-v7-g/.obj/CallLogSource.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    make[2]: Leaving directory 'D:/BB-dev/momentics-workspace/HeadlessApp/arm'
    Makefile:50: recipe for target 'debug' failed
    make[1]: Leaving directory 'D:/BB-dev/momentics-workspace/HeadlessApp/arm'
    make[1]: *** [debug] Error 2
    make: *** [Device-Debug] Error 2
    mk/cs-base.mk:31: recipe for target 'Device-Debug' failed
    

    What will happen to qmetatype.h?

    Or if you have any code better, please help me.

    Thank you!

    Thanks for the help!

    Always had error with "Q_DECLARE_METATYPE (CallEntryResult)";

    "Q_DECLARE_METATYPE (QList);  resolves the error.

    Thank you!

Maybe you are looking for

  • What encryption (if any) is used by Apple bluetooth Magic keyboard (MLA22LL/A) when communicating with MacBook Pro?

    I am considering buying magical Keyboard wireless Apple (MLA22LL/A). What (if any) encryption is used by this keyboard blue-tooth when it communicates with the Mac Book Pro? I have a Mac Book Pro running OS X El Capitan.

  • Toshiba 46TL838 - update failed

    After the automatic update of network, update, I get a message around 70% of the upgrade that the upgrade has failed and my TV system will restart.He was stuck on this page no mater how long I've been waiting.If I turn off the power and then reconnec

  • How to access the 5 gigs of space free iCloud?

    The phone care to give me a message saying that I have exhausted my 5 GB space iCloud but when I login to iCloud is empty.  Where is this "alleged" 5 gigabytes of content when I login to iCloud?

  • HP 450-a114

    I would like to know what the inputs and outputs on the back panel of my HP slimline 450-a114 are at the back of my computer. I find nowhere no diagram that shows what thesre inputs and outputs are

  • Windows ME kernel32.dll

    Hello.  I would like to know how to replace or reinstall the registry on my computer without running the recovery CD.  I had problems with my kernel32.dll file and a few other .dll files.  and please don't send me a link to a pay to run a registry Fi