AnsweredAssumed Answered

Want to know the service name of Openfire 4.1.3 server ?

Question asked by shree on Apr 24, 2017
Latest reply on Apr 29, 2017 by wroot

Is any body know how to find service name of Openfire 4.1.3, because i need to connect with Openfire 4.1.3 with my android app.

This is my code;

 

XMPPTCPConnectionConfiguration.XMPPTCPConnectionConfigurationBuilder builder=

  XMPPTCPConnectionConfiguration.builder();

builder.setServiceName("10.0.2.2");

builder.setUsernameAndPassword("admin", "xxxxxxxx");

builder.setHost("10.0.2.2");

builder.setRosterLoadedAtLogin(true);

builder.setResource("Rooster");

 

//Set up the ui thread broadcast message receiver.
setupUiThreadBroadCastMessageReceiver();

 

mConnection = new XMPPTCPConnection(builder.build());

mConnection.addConnectionListener(this);

mConnection.connect();

 

Message was edited by: shree

Outcomes