@Kinderen
Thanks for you reply.
I used below code:
XMPPTCPConnectionConfiguration config = XMPPTCPConnectionConfiguration.builder()
.setUsernameAndPassword(username, password)
.setServiceName("localhost")
.setHost("10.42.0.3")
.setPort(5222)
.build();
AbstractXMPPConnection conn2 = new XMPPTCPConnection(config);
try {
conn2.connect();
} catch (SmackException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (XMPPException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
But i am unable connect to the openfire server.
Could you please hemp me? I really hanged here.
I am using Eclipse IDE and android 4.4.2.
One Question:
Is it possible to make android chat app using openfire server?
-also need to insert users from android client etc...
I really need some help....
Thanks