Hi,
I mean to say the smack released as a latest beta version “beta2”
you can find the released jar files at web site The Central Repository Search Engine
you can download sources.jar files also
so that you don’t need to compile it.
All you need is to know the dependency libraries corresponding to those jar files.
as you told that you are not a pro I am giving the following dependencies list of JAR files.
jbosh-0.8.0.jar
jstun-0.7.3.jar
jxmpp-core-0.4.1.jar
jxmpp-util-cache-0.4.1.jar
jzlib-1.1.3.jar
minidns-0.1.5.jar
org.xbill.dns_2.1.6.jar
smack-android-4.1.0-beta2.jar
smack-android-extensions-4.1.0-beta2.jar
smack-bosh-4.1.0-beta2.jar
smack-compression-jzlib-4.1.0-beta2.jar
smack-core-4.1.0-beta2.jar
smack-extensions-4.1.0-beta2.jar
smack-im-4.1.0-beta2.jar
smack-resolver-dnsjava-4.1.0-beta2.jar
smack-resolver-minidns-4.1.0-beta2.jar
smack-sasl-provided-4.1.0-beta2.jar
smack-tcp-4.1.0-beta2.jar
xpp3-1.1.4c.jar
xSocket-2.8.15.jar
xSocket-multiplexed-2.1.7.jar
all the above files can be downloaded from the same maven website
If you know how to create pom.xml the you use mvn to do that job for you
Regarding BOSH
BOSH is a protocol which uses pure HTTP/HTTPS for doing XMPP.
I told that I am using BOSH protocol, because it comes handy in situation where TCP/IP bit unstable
Regarding the minor change
There was a “break;” statement missing in XMPPBoshConnection.java
If you are going for BOSH based XMPP then you need to introduce that and compile only that part again otherwise ignore it
Hope it helps