group chat in android application using xmpp smack
===

I have used the xmpp protocol,openfire and smack for user to user chat.Now i want to group chat in my application.I know it is supported in openfire.But i want to do group chat through coding.So please give some ideas or supported link.I have refer so many link but cant get exact idea.

Thanks in advance.