Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Highlighted
New Developer
Posts: 6
Registered: ‎07-18-2008
My Device: Not Specified

BlackBerryContactList

Hello,

 

      I have a question regarding BlackBerryContactList API, I am writing an application to sync my contactlist (1200 records), my application is to remove all existing contact list first and then add 1200 records. but from my understanding, my application has to commit as soon as a contact is added to the list, but it caused 10 mins hour-glass on the screen since there are 1200 records to add, my question is:

 

 1. Is there any way to comit all at once?

  2. is there any way to remove all contact list at once without using Enumeration?

 

Please shed some light on this. Much appreciated!

 

 

 

       

BlackBerry Development Advisor
Posts: 15,784
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: BlackBerryContactList

There are no APIs that allow for bulk commits or removal of PIM data.  You will need to loop through each contact you wish to add or remove.
Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker