powered by Jive Software

Roster.createentry

Hey Folks,

This is my first post so apologies if I leave something out.

I’m developing an IM system using Smack and the Openfire server. When I try to add a new buddy to my roster it doesn’t seem to pick up on the group name that i’m specifying. I have tried a number of different variances of the roster.createentry(string, string, string[]) but no matter what way I’ve done it when the new buddy is added it shows up as “unfiled”.

The group I’m trying to assign it to has already been created in openfire.

This is the code i’m trying and buddyGroup is setup correctly.

roster.createEntry(buddyID, buddyName, new String[]{buddyGroup})

If anyone has had similar issues and been able to resolve them I would be very grateful if you could shed some light on this.

Thanks.