<commit_before>aSmack - buildsystem for Smack on Android
=========================================

*This repository doesn't contain much code, it's a build environment!*

Tracking trunk can be hard. Doing massive changes on top of trunk can be
near impossible. We are mixing 6 open source projects to provide a working
xmpp library for Android. All trunk-based.

This repository contains a source fetching, patching and building script.
As well as all the minor changes to make an Android version fly.
See the patches/ folder for a detailed list of changes and scripts.

Static Code
===========

**IMPORTANT:** In order to work correctly on Android, you need to register the Providers manually and init some static code blocks before you doing any XMPP activty. *Make sure to call `org.jivesoftware.smackx.ConfigureProviderManager.configureProviderManager()` and `org.jivesoftware.smackx.InitStaticCode.initStaticCode(Context)` prior any XMPP activity*
You could also call `org.jivesoftware.smack.SmackAndroid.init(Context)`, which will call both methods.


Compiled JARs
=============
Can be found [here](https://github.com/Flowdalic/asmack/downloads).
But be aware, they may be *outdated!*

ConnectionConfiguration
=======================
Please use the provided org.jivesoftware.smack.AndroidConnectionConfiguration class if possible to create a new connection.

Compression
===========
In order to enable compressed XMPP streams you have to add [jzlib](http://www.jcraft.com/jzlib/) to your project.

Compiling aSmack
================

1. copy local.properties.example to local.properties and set the Android SDK path (e.g. sdk-location=/opt/android-sdk-update-manager/ on a gentoo system)

2. Run build.bash

aSmack uses a [special fork of smack](https://github.com/Flowdalic/smack). You can read about the results you will get when using one of the various branches provides in the [README](https://github.com/Flowdalic/smack/blob/smack_extended/README.markdown).

Apps that use this fork of aSmack
=================================
- [GTalkSMS](http://code.google.com/p/gtalksms/) uses many features of Smack and XMPP on Android:
    - File Transfer
    - DNS SRV<commit_msg>README: New location of jar and source files<commit_after>aSmack - buildsystem for Smack on Android
=========================================

*This repository doesn't contain much code, it's a build environment!*

Tracking trunk can be hard. Doing massive changes on top of trunk can be
near impossible. We are mixing 6 open source projects to provide a working
xmpp library for Android. All trunk-based.

This repository contains a source fetching, patching and building script.
As well as all the minor changes to make an Android version fly.
See the patches/ folder for a detailed list of changes and scripts.

Static Code
===========

**IMPORTANT:** In order to work correctly on Android, you need to register the Providers manually and init some static code blocks before you doing any XMPP activty. *Make sure to call `org.jivesoftware.smackx.ConfigureProviderManager.configureProviderManager()` and `org.jivesoftware.smackx.InitStaticCode.initStaticCode(Context)` prior any XMPP activity*
You could also call `org.jivesoftware.smack.SmackAndroid.init(Context)`, which will call both methods.


Compiled JARs
=============
Can be found @ http://asmack.freakempire.de/

ConnectionConfiguration
=======================
Please use the provided org.jivesoftware.smack.AndroidConnectionConfiguration class if possible to create a new connection.

Compression
===========
In order to enable compressed XMPP streams you have to add [jzlib](http://www.jcraft.com/jzlib/) to your project.

Compiling aSmack
================

1. copy local.properties.example to local.properties and set the Android SDK path (e.g. sdk-location=/opt/android-sdk-update-manager/ on a gentoo system)

2. Run build.bash

aSmack uses a [special fork of smack](https://github.com/Flowdalic/smack). You can read about the results you will get when using one of the various branches provides in the [README](https://github.com/Flowdalic/smack/blob/smack_extended/README.markdown).

Apps that use this fork of aSmack
=================================
- [GTalkSMS](http://code.google.com/p/gtalksms/) uses many features of Smack and XMPP on Android:
    - File Transfer
    - DNS SRV
{'fraction_non_alphanumeric': 0.13422509225092252, 'fraction_numerical': 0.0013837638376383763, 'mean_word_length': 4.990331491712707, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '713182', 'n_tokens_mistral': 1200, 'n_tokens_neox': 1157, 'n_words': 493}