[botan-devel] Build Botan 1.8.14 for Android (Jack Lloyd)

Georgios Polymerou geo.pol.geo at gmail.com
Thu Jan 3 15:30:33 EST 2013

Hi Pelczar,

Thank you for your reply about integrating Botan with Android.

Can you (or anyone that have done this) please give me some directions step-by-step how can I do the procedure that you described (how to generate the configuration for linux and if you can send me the makefile for NDK)?

Thank you a lot for your help,

On 28 Nov 2012, at 19:08, Jaroslaw Pelczar wrote:

> You just need to generate configuration for linux. Then write makefile for NDK to build either static or dynamic library. I've successfully integrated Botan with Android, iOS and Symbian apps and other embedded systems. I could post Android.mk for some version of Botan later when I get back home. Remember that on Android you have to preload Botan DLL (if you're building DLL target) to JVM using System.loadLibrary. For iOS you just need specific config file (I've handcrafted one based on linux config) and include proper cpp files in XCode. For Symbian I wrote random number source based on TRandom + some experimental system API integration (e.g. using R/TInteger as a backend for bignum). 
>> Message: 1
>> Date: Tue, 27 Nov 2012 13:28:35 -0500
>> From: Jack Lloyd <lloyd at randombit.net>
>> To: botan-devel at randombit.net
>> Subject: Re: [botan-devel] Build Botan 1.8.14 for Android
>> Message-ID: <20121127182835.GA30075 at randombit.net>
>> Content-Type: text/plain; charset=us-ascii
>> On Tue, Nov 27, 2012 at 10:41:20AM +0000, Georgios Polymerou wrote:
>>> Hi all,
>>> I am new to Botan. I've successfully built the Botan 1.8.14 for MAC
>>> OS 10.7, and everything works fine.
>>> Now, I need to use this version for an Android application that I
>>> want to develop. Has anyone built the library for Android before? If
>>> so, can you help me? I'd really appreciate any help.
>> I have heard from a couple of people that they have done this and were
>> apparently happy with the results, but do not have any information
>> about how exactly it was done. (Similiarly for iOS, actually)
>> If someone who has done this (or you, if you figure it out) wants to
>> write up some directions to include in the documentation I would
>> happily include it.
>> -Jack
>> ******************************************
> _______________________________________________
> botan-devel mailing list
> botan-devel at randombit.net
> http://lists.randombit.net/mailman/listinfo/botan-devel

More information about the botan-devel mailing list