Hi,
when trying to connect i get the following error at con.login(); :
09-21 11:05:42.305: WARN/Jabber.Connect: Login(1271): not-authorized(401)
heres the code:
ConnectionConfiguration connConfig = new ConnectionConfiguration(host, Integer.parseInt(port));
connConfig.setSecurityMode(ConnectionConfiguration.SecurityMode.enabled);
connConfig.setSASLAuthenticationEnabled(false);
con = new XMPPConnection(connConfig);
con.connect();
con.login(m_username, m_password)