Creating and removing contact lists

You can create contact lists on a BlackBerry® device by invoking BlackBerryPIM.createPIMList(). Currently, the PIM list type you specify when you invoke createPIMList() must be PIM.CONTACT_LIST or a PIMException is thrown.

You can also remove contact lists by invoking BlackBerryPIM.removePIMList(). Currently, this method supports PIM lists only of type PIM.CONTACT_LIST.

Was this information helpful? Send us your comments.