I am encounting a problem removing a contact from a group I created called : V&V . This problem is mainly when someone uses a ejabbered server but I was able to get around it by using the code extract below:
Iterator objIterator = objEntry.getGroups();
RosterGroup objGroup = (RosterGroup)objIterator.next();
This is what is already there but crashes giving an ill formed xml error.
//THIS SHOULD DO THE SAME AS ABOVE,