13 Replies Latest reply on Apr 29, 2017 6:18 AM by wroot

    Want to know the service name of Openfire 4.1.3 server ?

    shree

      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