开发者

Retrieve group from symbian using J2ME

I got the Contact List of symbian but not getting the group. for getting the contactlist 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 the group and retrieve group members ?


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

Try using:

PIMList.getCategories()
PIMList.itemsByCategory()
PIMItem.getCategories()

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜