Extract group from symbian using J2ME

I got the symbian contact list but am not getting the group. for getting the contact list i have coded

PIM pim;

pim=PIM.getInstance();

ContactList clist=null;

clist=(ContactList)pim.openPIMList(PIM.CONTACT_LIST, PIM.READ_WRITE);

Contact c=null;

Enumeration contacts=clist.items();

while(contacts.hasMoreElements()){
                c=(Contact)contacts.nextElement();
...
...
}

      

now how to get group and get group members?

+2


a source to share


1 answer


Typically, groups should be implemented using JSR-75 categories.

Try using:



PIMList.getCategories()


PIMList.itemsByCategory()


PIMItem.getCategories()

+1


a source







All Articles