[JDEV] How to add contact group by java program properly

Yao Peng ysun at nfsmith.com
Thu Feb 21 09:18:55 CST 2002

I wrote a java program to add contacts with a  specified group for each user
using  RosterItemBuilder.addGroup. It failed to do that  because it some
time add a wrong group for you. For example, if you want to add a group
"HOUSTON"  (RosterItemBuilder.addGroup("HOUSTON")), it will add a  group
"H", "HOUS", "HOUST" or "HOUSTON" for you. What  is wrong with it? I guess
that maybe it is because the  data is lost on the way to jabber server. If
it is the  case, how to solve it? Please help me out!!

Please send answer to : yaop77036 at yahoo.com
Thank you!


More information about the JDev mailing list