x86 version of AllJoyn for Android platforms

Tweet about this on TwitterShare on Google+Share on FacebookShare on LinkedInShare on RedditEmail this to someone

Alljoyn is a cross-platform library designed for peer-to-peer communication between various devices over different transports.

This library is open-source (Apache License) and initially created by Qualcomm Innovation Center. The project has joined the AllSeen Alliance two days ago and now it’s hosted here: https://allseenalliance.org/source-code

Even if the precompiled x86 version isn’t distributed from the official website, compiling it from the sources is perfectly supported.

When you download the release package for Android, here is what you get:

 If you use the Java binding alljoyn.jar, you’ll end up with liballjoyn_java.so in lib/armeabi/. The binaries (.so/.a files) from this package are ARMv5 only but compiling it from the sources is perfectly supported.

Here is the x86 release version I’ve compiled for you: alljoyn-3.4.5-android-sdk-rel-x86.zip. It follows the same architecture than the ARMv5 release.

If you’re just using the AllJoyn .jar on Android, you can directly get the liballjoyn_java.so and put it inside the lib/x86 directory of your Android application.

If you want to recompile it yourself or know more about the process, here is what I did:

Recompiling Alljoyn for x86-based Android platforms

First, get the sources:

Then, retrieve libcrypto.so and libssl.so from a real x86 device or the x86 emulator and put them inside build/android/x86/release/dist/cpp/lib/ :

Now you can build the lib for x86 as explained by the project documentation – the tedious part being the need of having a copy of the AOSP sources:

Tweet about this on TwitterShare on Google+Share on FacebookShare on LinkedInShare on RedditEmail this to someone

One thought on “x86 version of AllJoyn for Android platforms”

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">