author Da Risk <>
Mon, 15 Jun 2015 14:04:24 +0200
changeset 1058 b9445d741660
parent 1005 4c7edc276676
permissions -rw-r--r--
Fix potential NPE when the connection is not created yet when the service is destroyed

asmack is a portage of the Smack library for
the Android platform. The project is was maintained by Rene Treffer.

Florian Schmaus maintains a more up to date version of this project. This
version is used by many XMPP clients for Android.

You can find the sources at     for Rene version    for Florian version

The asmack project is based on the development version of the Smack library.
This version is constantly moving but we want a fixed version for BEEM.
Currently, we use the changeset 0ffd380698bca3502a6f25c4d755fe79f6977b49 of
the Florian's Smack git repository.


First check out the last version of asmack
> git clone git://

Add the beem flavour to the patch repository
> rm -rf patch/beem
> cp -R beem_patches patch/beem

Edit your file to contains the path of the android SDK. See

Build asmack with beem patches
> ./build.bash -c -b 0ffd380698bca3502a6f25c4d755fe79f6977b49

The build directory will contains the files :
 * asmack-android-$VERSION-beem.jar for asmack binaries for android $VERSION
 * asmack-android-$ for the asmack custom sources for
   android $VERSION.