problem about smack-Collection of common programming errors


  • Flow
    android smack asmack
    I am using openfire and asmack lib. I am implementing online and offline button in android chat application .How can I set my presence “unavailable”.Note: I don’t want to use connection.disconnect() method ,because **This method cleans up all resources used by the connection. Therefore,the roster, listeners and other stateful objects cannot be re-used bysimply calling connect() on this connection again. This is unlike thebehavior during unexpected disconnects (and subsequent connections).In tha

  • nulltoken
    android xmpp smack msn-messenger
    I tried connecting to MSN messanger using Smack library with follwiing codeimport org.jivesoftware.smack.ConnectionConfiguration; import org.jivesoftware.smack.ConnectionConfiguration.SecurityMode; import org.jivesoftware.smack.XMPPConnection; import org.jivesoftware.smack.XMPPException;ConnectionConfiguration configuration = new ConnectionConfiguration(“messenger.hotmail.com”, 1863, “hotmail.com”); configuration.setSecurityMode(SecurityMode.disabled); configuration.setCompressionEnabled(false);

  • Flow
    android xmpp smack asmack
    We are trying to establish a connection. We get a connection established, but when we try to login, we get a large number of errors.We are trying to log into Google Talk using an XMPPConnection object, and passing it a reference to a hostname, port number, username, password, and resource. The connection is created and set up properly, but when we try to log into Google Talk using a created connection, we get a lot of errors and the Android application crashes.Our code:class BackgroundConnection

  • Alex K.
    android exception smack
    I am unable to transfer file using a smack, I am using android emulator on one side and spark on the other. When I do transfer the application force closes with the following error messages and a notification of file transfer request, after accepting the file, there was an error transfering the file.error log is pasted below.I searched different solution and one of them says:First, you have to copy a smack.properties to you android emulator.You can get smack.properties at the original SMACK API

  • Ameya Phadke
    android client-server xmpp smack tigase
    Hi This is with regards to post hereI am able to connect my PC to the local tigase server setup locally(I am using Smack API). Now I am facing problems when I want to connect Android Phone to that server over Wi-Fi. I am able to connect to the local server by using client Beem for android.My XMPP Domain name of the server is my PC name “mwbn43-1” and IP address is “192.168.0.221”(I am able to ping this server from Android Terminal Emulator). In Beem Settings there is an Advanced option where I c

  • Stugal
    java ssl xmpp openfire smack
    I am recently working on Openfire client. I’ve got this strange issue that I couldn’t figure out so far (i’ve got some clues, but still no solid solution). We’ve got 2 openfire servers: first that we were using for testing it was hosted on normal pc conected to the internet through adsl, server was behind NAT, everything configured smoothly, working perfect. Our client was connecting without any issues. second (let’s call it production) professional dedicated server located somewhere in germany

Web site is in building