Getting the list of rooms on a server


How do I obtain a list of all the rooms (forums/groups) on a server?

I need this so I can give users a list of available rooms (groups) so they can chose and join a discussion.

I have looked through the Api but it seemed that there was nothing available which did this.

Thanx for you help


You can do this with

MultiUserChat#getHostedRooms(XMPPConnection connection, String serviceName).


From the api spec this does the following

‘‘Returns a collection of HostedRooms where each HostedRoom has the XMPP address of the room and the room’‘s name’’

Message was edited by: JonWright