开发者

Retrieve group from symbian using J2ME

开发者 https://www.devze.com 2022-12-27 11:27 出处:网络
I got the Contact List of symbian but not getting the group. for getting the contactlist i have coded

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

精彩评论

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

关注公众号