Remove Contacts based on a category

Our application assigns a category to the contacts that are persisted.  If our application is deleted, we want to do is retrieve all contacts based on this category and remove each of these contacts. Finally, we would like to remove the category. Using the PIM API, it doesn't seem to be a very clear way of recovering users based on a category. It seems that you can retrieve groups.

Is the solution to retrieve the groups through the items (Searchtypes) method in BlackBerryContactList, then download your group from the enumeration?

Has anyone tried this or is there a better way?

Thank you

Mark

You can try
http://www.BlackBerry.com/developers/docs/7.1.0api/javax/microedition/PIM/PIMList.html#deleteCategor...
with deleteUnassignedItems set to true.
I've never used it, but according to the description of the API, it should do what you want.

Tags: BlackBerry Developers

Similar Questions

  • Impossible to add/remove contacts

    Difficulties:
    1. When you try to add the new contact/s for the contacts list
    2. When you try to delete a contact from my contact list.
    3. on both occasions when I press on save tracking is displayed;

    • The address has not been heard.
      Firefox does not know how to open that address.
      SIGN IN AGAIN
    
    • When I try to sign the following message is displayed:
      "Firefox doesn't know how to open this address, because one of the following protocols (undefinedhttps) isn't associated with   any program or is not allowed in this context."
       "You might need to install other software to open this address"
    

    I had / have not experienced problems when you add or remove contacts in the past, however, there are trying to add a contact three days I could not as described.

    It would be appreciated if this problem could now be fixed.

    Concerning
    New Dennis.

    Just to clarify, is this adding a new contact in Firefox Hello or another service?

  • I get tea when I try to install the new version of itunes: an older version of Hello can not be removed contact your technical support group

    old version of Hello can not be removed contact your technical support group. Please help, thanks

    To perform a "clean" iTunes installation uses this technique proposed, from Support of Apple HT1926 article.

    Warning: uninstall utility for cleaning Windows mentioned in the instructions below has been removed from Microsoft download servers because sometimes it seems more removed he was supposed to (I think that this phenomenon was linked to the bureau uninstalls).  You can still get utility Windows Installer Cleanup--> http://majorgeeks.com/Windows_Installer_CleanUp_Utility_d4459.html here is a free alternative Revo Uninstaller. Before using these cleaning products, you must create a restore point from the system first (or back up the registry with C:\WINDOWS\ERUNT).  See http://windowsxp.mvps.org/registry.htm a complete disk image would be safer if you have this ability.

    Go to control panel > Add/Remove programs
    Remove these applications:
    1 Apple Software Update
    2. Apple Mobile Device Support
    3 Hello
    4 iPod for Windows (this may or may not exist, be it, it is not necessary, then we can remove it)
    5 iTunes
    6 QuickTime

    Open my computer > C: > Program Files
    Delete this files (if present)
    1 iPod
    2 iTunes
    3 QuickTime

    Empty your temp directory:
    Open my computer > C: > Documents & Settings > username > Local Settings and delete the contents of the folder called "Temp".

    If you don't see the local settings, enable hidden files:
    Tools > Folder Options > view tab
    Select Show Hidden Files & folder, and then click OK

    Once this file is empty, restart the computer

    Download & install the Windows Installer Cleanup (see caution above) utility
    http://support.Microsoft.com/kb/290301/
    Launch the utility: start > programs > Windows Installer Clean Up
    Select one of the applications mentioned above and click on remove

    Restart the computer
    Download & reinstall iTunes from here: http://www.apple.com/itunes/download/

  • Remove contacts from Yahoo of Palm Pre

    How to remove contacts from Yahoo duplicate of the Pre? I get "Yahoo profiles cannot be deleted." There must be a way to remove them?

    Open the contacts app click on the upper left dropdown 'Contacts' and go to preferences and accounts. Click in the list of accounts on Yahoo. Then click on remove account. This will remove only the synchronization of contact from yahoo. You will always have yahoo mail and schedule synchronizations.

  • remove contacts from people

    IAM using windows 8.1 on lenovo g500. I tried to remove people and have no button Delete only edit botton. I read the forum and all what it tried? I have no other account with contacts, I ran same registry, cleaner, command-line scanning grip an app from people corrupted?

    Hi Paul,.

    You can delete your contacts Hotmail or Outlook of the people app.  If you have connected other accounts such as Google, Facebook or Skype, you'll need to go to this app or Web site to delete these contacts.

    To confirm, you can check the link to find out how to remove contacts from people app:

    http://Windows.Microsoft.com/en-CA/Windows-8/people-app-FAQ3

    I hope this helps.

  • Remove contacts from the Sim

    Palm Pre does not make me remove contacts from the SIM card, any ideas?

    To remove a contact from your SIM you would open the contact you want to delete, select Edit, you will see a picture of a SIM card next to the SIM contact in question, drag to the right on this point and then click on remove, then choose done.

  • Is there an easy way to bulk remove contacts

    I know that you can remove products with an import file, but you cannot import CRM. Ideas in addition to performing a customized report and manually removing each element?

    Thank you

    Mark

    Hey Mark,

    You can use the following URL to undo a previous contact import:

    yoursite.com/Utilities/ImportDataHistory.aspx

    Note that the cancellation of import will remove contacts entirely from your site database.

  • Bulk remove contacts without name?

    Is there a solution to the no name on my iPhone glitch 7?

    Is it possible to remove them?

    This is no problem of name? Can you describe your problem and what you're trying to do? In addition, you synchronize your contacts with any program or service?

  • How to remove contacts from AutoComplete in Apple Mail?

    I've recently updated to El Capitan, and I had so many problems of Apple Mail, I am close to resolve.

    Here's my problem: when I type a letter in the field 'To' - like saying "n" - all emails that I received recipients that begin with the letter "n" is displayed, including spam.

    The only solution I found here is to go to the 'window'-> previous winners and remove all the previous recipients of my email.

    But this isn't the problem I have here.

    What does the field 'To' is people who I never sent. I don't want all these people appear again. I fear that one of these days I'll accidentally send the wrong person.

    I tried pressing the button 'more' to have semi-automatic entered e-mail address does not work in my contacts list. But it does not work.

    Any help would be appreciated.

    Just to be clear: I use OS X 10.11.4

  • Remove contacts Windows 8

    Hi, I added some numbers and Skype users on my older version of Skype and now that I have my new laptop (Windows 8) with the new version of Skype, I would like to delete and block some contacts, but I do not see how to manage my contacts.

    Can I have help, please? Thank you.

    Deleting a contact works only when you have selected a contact. If you are on the screen showing all your contacts, it will not work. You must first select the target contact exactly in the same way you would start a Skype session. When the new window opens, you only deal with one contact. On this screen, you can delete in: 1. click on the three dots in the bottom right of the screen, or 2. just right click anywhere on the screen. Or the other will show the submenu, such as blue bars on the top and the bottom of the screen. Located in the blue bar, on the right are different commands including delete. Most who cannot remove a contact is on the screen... not on indivitual contact. I hope this helps.

  • Remove contacts from Skype

    OK, so I know how to delete and block a Skype contact by right-clicking and choosing the option remove or contact block. However, I deleted some contacts always appear on my homepage. Am I missing something to stop these contacts appear in my Skype?

    Yes, you are missing the part where it was a bug in Skype 6.14

    Please update to the latest version to solve the problem:

    6.16 Skype

    http://download.Skype.com/MSI/SkypeSetup_6.16.0.105.msi

  • Remove contacts

    I want to start separating my personal contacts working contacts placing them on two different accounts. But I don't see how to delete existing contacts on the latest version of Skype for Mac. When I right click on the contact it only gives you the message I want to send my work contacts and the option "block contact" which is very aggressive. I want to just go back and delete this account (and then add them to another separate account 'work').

    Any suggestions?

    NOTE: I tried to hit just delete on the contact, but which does nothing.

    You evert were able to get an answer to your question on the removal of the names of your contacts list? I tried to edit my contacts and much drop land line contacts and have no way to do it. Delete Contact is gray and unusable. If you had success on an answer, please let me know. I use a Mac, so don't know if this is the issue or not.

    Thank you

    Dave Pemberton

  • Remove contact link from the splash screen

    I created a link to a contact on my startscreen and you want to delete it now, because it is really useless and doesn´t longer work.

    When I go to the list of Applications, as if removing applications, I can't find this link...

    Clues on how to remove it?

    Hold down the Orange/option key while tapping on the icon.

  • How to remove contacts added without my permission?

    When I clicked forward, my contacts list contains e-mail addresses highlighted in bold black print.  They seem to be sites for adults that I have never visited but might have found a door furtively in my junk e-mail.  They are not in my contact list and I can't understand how to remove them.  And is it possible to block new added to my list.  Thank you.

    In Hotmail,.
    1. Click on Contacts.
    2. Click on View invitations.
    3. Click groups.
    4. Click No, thank you to those who show themselves.
    5. Click on change settings of your invitation
    6. Select private.

    Hotmail has its own support at the Windows Live Solution Centerforums. Please address any other question you may have on one of the forums on the right side of this page.

    Noel

  • How to permanently remove contact name/email address during the transmission of a message on the internet

    e-mail addresses are incorrect on the contacts list - during the transmission of a message on the internet.  How to remove these e-mail addresses and insert the good?

    Hi WilliamSpence,

    ·         Are you referring to Windows XP "address book"?

    ·         What email program are you using?

    ·         What is the email service provider?

    If you use Outlook or Outlook Express, then you can follow the Microsoft Knowledge Base article mentioned below and check.

     

    HOW to: Add and remove names in your address book in Windows XP

    http://support.Microsoft.com/kb/307730

    Let us know if that helps.

Maybe you are looking for

  • Satellite L30-114 - 2 GB of RAM does not work

    Hello When I put 2 Rams 1 GB each my computer do blue screen and restarts, but on one of this computer of Rams two work without problem. A friend told me to update the chipset, the problem is that I can't find for this model of laptop

  • Does not clear the PDM buffer

    I use TDMS written and PDM rinse functions in a state machine application. I write to TDMS in two States and rinse after every write. Worth that I will have is that hunting TDMS takes the time to write data on the disk, but does not seem to fade from

  • AOE 2 - does not start in Windows 7

    I am running AOE RIse of rome from my laptop (Dell) on Windows 7. The game does not start. I get an error message saying "could not initialize graphics system. Make sure that your video card and driver are compatible with directdraw.

  • I need supports T61 as backup: tips on where to buy?

    My current T61, I love, suggests to me that maybe it's go south one day (a long 2 short beeps which so far I got since).It looks like my cheapest option and happy would be a use or renovated T61 since I can move my DPS and 8 GB of Ram and Windows 7 C

  • Windows xp does not display the Welcome screen

    Whenever I turn on the computer, windows xp, it goes directly to the administrator account, I really want to see the 3 accounts I have in my computer, choose one. How can I stop this?  I already used the user accounts and changed the average user log