08-03-2011 12:53 AM
I am calling BlackBerryPIM.createPIMList() in the simulator and it works fine, but on device I get a ControlledAccessException. I have requested every relevant permission I can think of (in particular PERMISSION_ORGANIZER_DATA), and have tried manually setting all app permissions to Allow. My apps are signed, and I have no problems reading and setting listeners on the PIM lists, and writing individual contacts to existing pim lists.
BlackBerryPIM pim = (BlackBerryPIM) PIM.getInstance();
long listId = pim.createPIMList(PIM.CONTACT_LIST, "Whatever");
I am trying this with OS 6.0 only.
Am I supposed to be able to do this? Clearly the docs say yes, but I can't find any samples or even support forum questions about this API (createPIMList).
03-28-2012 09:28 AM