BTW you wouldn’t be interested in contributing smack-websocket, smack-websocket-androidasync, smack-websocket-javax (using The Central Repository Search Engine )
This may be some amount of work and sure will require some code reviews. But it would be highly appreciated.
I would recommend that you join #smack (freenode), ideally with an bnc or another mechanism that allows you to stay permanently in the channel. Experience shows that IRC is an ideal way to coordinate development.
Please find the attached websocket code with some improvements You can use the latest AndroidAsync 2.1.7, But I only tested with 2.1.3, let me know in case XMPPWebSocketConnection.java (14668 Bytes) XMPPWebSocketConfiguration.java (3012 Bytes)
I have included these two classes for websocket connection in my Android project. After login, I am getting error while binding resource with the server and hence server does not respond to pings beacuse of which the websocket closes. Can you help me in understanding what is the problem here and how can this be rectified?
I’ve included these two classes in my android project, but I’m unable to connect to the server (I’m getting org.jivesoftware.smack.SmackException: Timeout reached for the connection to null:0 but I don’t have any idea why). Can you help me understand what am I doing wrong?
The libraries that I’m using are:
org.igniterealtime.smack:smack-android:4.1.6
com.koushikdutta.async:androidasync:3.1.0
ps. I am attaching code on how I am trying to establish the connection. connection.rtf (1.1 KB)