I am trying to create a room for MultiUserChat in android. Here is my attempt:
String mNickName = "7799963";
String mGroupChatName = "room@confrence.mytestserver.net"; // Room Name
MultiUserChat mMultiUserChat;
mMultiUserChat = new MultiUserChat(mXMPPConnection, mGroupChatName);
try {
mMultiUserChat.create(mNickName);
mMultiUserChat.sendConfigurationForm(new Form(Form.TYPE_SUBMIT));
mMultiUserChat.join(mNickName);
} catch (XMPPException e) {
e.printStackTrace();
}
But i am getting no response , here is my logcat:
11-23 15:58:54.580: W/System.err(16749): No response from server.:
11-23 15:58:54.610: W/System.err(16749): at org.jivesoftware.smackx.muc.MultiUserChat.create(MultiUserChat.java:359)
Can anyone guide me where m mistaken or any solution?