简体   繁体   English

使用J2ME从symbian检索组

[英]Retrieve group from symbian using J2ME

I got the Contact List of symbian but not getting the group. 我得到了symbian的联系人列表,但没有得到该组。 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. 通常,应使用JSR-75类别来实现组。

Try using: 尝试使用:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM