Remove all the log of calls by program

I clear the log of calls all (Normal & missed), but is ArrayIndexofBoundException.

try {}
PHNL PhoneLogs = PhoneLogs.getInstance ();
int normalCount = phnl.numberOfCalls (PhoneLogs.FOLDER_NORMAL_CALLS);
for (int a = 0;< normalcount;="" a++)="">
phnl.deleteCall (a, PhoneLogs.FOLDER_NORMAL_CALLS);
}
normalCount = phnl.numberOfCalls (PhoneLogs.FOLDER_MISSED_CALLS);
for (int a = 0;< normalcount;="" a++)="">
phnl.deleteCall (a, PhoneLogs.FOLDER_MISSED_CALLS);
}
} catch (Exception e) {}
System.out.Print ("Exception occurred" + try ());
}

Can you please help me in the present to solve this problem.

My guess would be that the size of the phonelogs decreases when you delete an object, an iteration of the upper border down.
(int a = count-1, a >-)<,>

Tags: BlackBerry Developers

Similar Questions

  • I've recently upgraded to El Capitan - biggest problem is timing removed all the entries in my previous ical. Any ideas how I can track down the file containing these essential documents and install in the new program?

    I've recently upgraded to El Capitan - biggest problem is timing removed all the entries in my previous ical. Any ideas how I can track down the file containing these essential documents and install in the new program?

    All calendars are enabled in the sidebar?

  • Is this OK to remove most or all the *.log files?

    Windows XP Media Center Edition SP3 on Gateway Intel system double heart Hz 6300, 1.86, 3.24 GB/ram, 320 GB hard drive.

    He is allowed to delete most or all the *.log files, or would be a serious mistake?

    I never used for anything else than to troubleshooting, then very rarely.  So I would delete them to your heart's content.  However, I must point out that they do not have enough disk space amount to something meaningful, so there is really no need to worry about them.

    I hope this helps.  Good luck.

  • If I remove all the data from the Web site it will also remove all my passwords?

    If I remove all the data from the Web site it will also remove all my passwords?

    It will not erase your saved in the Keychain passwords, but you need to connect back to all Web sites (like this one) that require you to log in.

  • How can I remove all the unused files to clear a space

    How can I remove all the unused files from my computer

    You can remove applications on the control panels.  XP seems to me (im not on a XP ATM machine) programs cpanel

    Files?  you do not (or should not) delete separately

  • Suddenly, InDesign stopped work and remove all the fonts...

    Suddenly, InDesign stopped work and remove all the fonts used in the document... but I can use it in other programs such as Photoshop and Illustrator. tried to delete and reinstall the InDesign but it isn't working again

    I hope to find a quick solution to the problem

    I finally solve the problem...

    reinstall all fonts again and its working,

    Thank you all...

  • Remove all the Options from Shuttle point

    Apex 3.2

    I have a shuttle element called P19_SHUTTLE.

    I want to hide all select it and remove all the options.

    I tried

    Header HTML

    < script >

    function shuttle_settings()

    {

    $x_Remove ('P19_SHUTTLE_MOVE_ALL');

    $x_Remove ('P19_SHUTTLE_REMOVE_ALL');

    }

    < /script >

    HTML Body attributes

    OnLoad = "shuttle_settings ()" "

    This does nothing.

    What should I do?

    Gus

    Hello

    Well, you're 100% sure that these icons have id?

    I'm sort of reminder that APEX 3.2, there is no identity for these icons.

    Kind regards

    Jari

  • Cant unninstall lightroom 5.4 required to install update 5.5, I remove all the files and registry, but install fails

    Cant unninstall lightroom 5.4 necessary to install update 5.5, I remove all the files and the registry, but installation fails again and again, now I can't use lightrrom... Grins.

    I use the SSD drive and I can't have a lot of file uninstal (often having to clean disk)

    Thanks for help

    Hello Jeff,.

    Thank you very much for your reply, I use windows 8.1! I found the problem: to install the new version installation needs the program old installation (but I have remove all the installer, because they use a place a lot on hard drive (SSD)).

    I have uninstall all Adobe and reinstalled, I save the full installer on an external drive. When the installer asked the former installer I indicate to programm my drive external and everything works fine now.

    Thanks so much for your help, I just do not delete the old file (sad having to save old installler just to install the new).

    Wallie

    (Sorry my English)

  • Possible to remove all the traits?

    Hello community,

    I received a file of an architect, which basically means that they just exported their program of illustrator.

    Now, there are tons of shots unnecessary in this file, is there a way to keep only the filled boxes and remove all the traits?

    I can make them transparent, but the information for the traits will always be there (cmd + y). It is essential that they would disappear because the file will be sent to a plotter cutting and overall (even if it is set to transparent) lines will be cut off, which is what I don't want.

    I would be really happy if someone could help me with that. Otherwise I guess I'll just shift-click the last

    PS. I use Illustrator CS 5.5

    Kind regards

    PK

    In most Select > even take a look at the magic wand tool and its Panel.

  • How to remove all the photos from my iphone 5?

    How to remove all the photos from my iPhone 5?

    1. Open the Photos app.
    2. Click on the photo or video you want to delete.
    3. Type > delete the Photo.

    Delete several photos

    1. Open the Photos app and press Select.
    2. Click on each photo or video that you want to remove.
    3. Type > delete Photos.

    Delete photos on your iPhone, iPad and iPod touch - Apple Support

  • How to remove all the pictures imported from my I phone 6

    How to remove all the pictures imported from my I phone 6

    Imported from the place where?

    If they were imported from your computer, you remove the same way that you put on there: by syncing with iTunes. to remove them, you need to synchronize an empty folder, or simply turn off the Photo in the form of synchronization option summary pane when the iPhone is connected.

  • How can I remove a misspelled username or an email addy that is saved in the menu drop down without removing all the?

    When the e-mail addresses or user names stored in the drop-down list for easy access, is there a way to delete just the wrong spelled those without removing all the good spelled those?

    When you see one of these misspelled items, highlight it and then press the DELETE key (or hit {Ctrl + delete} on some platforms).

    http://support.Mozilla.com/en-us/KB/form+AutoComplete#Deleting_individual_form_entries

  • why I can't take a new picture and I can't remove all the images of photos.new will not be saved

    why I can't take a new picture and I can't remove all the images of photos.new will not be saved

    Check your storage space on your iPhone, iPad and iPod touch - Apple Support

  • Remove all the patches and windows updates

    Hello

    How can I remove all the patches by using the Recovery Console - command prompt environment. Is it possible to remove all the patches. Where are all the patches and updates KB is stored in the Windows VISTA Business operating system. Help, please

    Thank you
    Concerning
    Anoop

    Hi Anoop,

    Thank you for writing to Microsoft Vista Community Forums.

    You can uninstall patches to a command using msiexec.exe and command line Options.

    For more information about the removal of patches of command prompt, access the link below: http://msdn.microsoft.com/en-us/library/aa372104 (VS.85) .aspx

    It will be useful.

    Thank you and best regards,

    Srinivas

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think

  • I wish to clean, remove all the info that I am changing to a new computer that is, restore to the beginning

    Change of Lap Tops. erase the information stored back to the starting point. remove all the password, bank statements, etc.

    Just follow the instructions that the computer provided in the computer by the manufacturer to the manual (or on the web site of the manufacturer) to restore the computer to its origianl, ex-factory condition.

Maybe you are looking for