Skip to content

Good article that provides breakdown of PIM

There is a new article that describes jsr 75 PIM package implementation.
Here is also some sample code that opens up the contacts loops through the list and extracts Name and phoneNumber from each record.
if (PhoneConstants.JSR75_INCLUDED) {
PIM pimInstance = PIM.getInstance();
ContactList list = (ContactList) pimInstance.openPIMList( PIM.CONTACT_LIST, PIM.READ_WRITE);
Enumeration contacts = list.items();
while (contacts.hasMoreElements()) {
Contact contact = (Contact) contacts.nextElement();
String name [...]