I have tried all possible methods to get group list,i was able to get users list through Roaster object ,but i am unabel to get group list
ConnectionConfiguration connConfig = new ConnectionConfiguration(HOST,PORT);
SASLAuthentication.supportSASLMechanism(“PLAIN”);
connConfig.setDebuggerEnabled(true);
connConfig.setReconnectionAllowed(false);
connConfig.setCompressionEnabled(false);
connConfig.setSecurityMode(ConnectionConfiguration.SecurityMode.disabled);
//connConfig.setSocketFactory(SSLSocketFactory.getDefault());
connection = new XMPPTCPConnection(connConfig);
connection.connect();
Roster roster = DataManager.xmppConnection.getRoster();
Collection entries = roster.getEntries();
Collection entriesGroup = roster.getGroups();
MultiUserChat.getJoinedRooms(con,user)
I have been trying for one week ,not sure why its not getting group name list,please help me out whats wrong