pim

Blackberry - How to get Field Labels from PIMItem

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...

BlackBerry calendar event list returned by PIM sometimes is empty

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...

J2ME: Crossplatform getting contacs with PIM

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...

How to get the contacts list in a sony ericsson in J2Me

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 ...