How can we get Field Labels from PIMItem. The following code is with PIMList
String label = pimList.getAttributeLabel(
blackBerryContact.getAttributes(Contact.TEL, i));
But i have PIMItem. There is a method PIMItem.getPIMList() which returns null for me in the code below. THE API at http://www.blackberry.com/developers/docs/5.0.0a...
This problem is related to PIM package on BlackBerry SDK. I need to update calendar events on the device after synchronization is done. To check if new event is really new I do this call:
EventList eventList = (EventList)PIM.getInstance().openPIMList(PIM.EVENT_LIST, PIM.READ_WRITE);
Enumeration events = eventList.items(EventList.OCCUR...
Hello, developers!
I have to develop solution based on getting data from address book.
Those data must be saved into text format. I coded it with Java™ Platform Micro Edition SDK 3.0.
public void getAddrBook() throws Exception{
addrStr= new StringBuffer("");
pim = PIM.getInstance();
try{
contact...
Hi everyone.
I'm building a phone application in j2me. In it, I need to get the contacts from the phonebook. There is an API for that and the line I tried to use was
contactList = (ContactList) PIM.getInstance().openPIMList(PIM.CONTACT_LIST,
PIM.READ_ONLY, name);
Apparently, it doesn't work in my phone (Sony Ericsson ...