views:

767

answers:

1

Hi,

I want to use DTLS (on OpenSSL) using JNI on Android 2.1/2.2.

Can someone help me get started (tutorials, howto, pointers etc) with building OpenSSL for Android (2.1/2.2) using the Android NDK?

Anything important that I should be aware of before doing it.

Thanks.

A: 

I guess you don't need help with basic building of programs and OpenSSL.

For specifics of Android and OpenSSL, take a look at Fries's GitHub repository called android-external-openssl.

Take a look especially at README located here: http://github.com/fries/android-external-openssl/blob/master/README.android

There you have step by step instructions on how to build OpenSSL on Android.

kost
What is the difference between the android-external-openssl repository and checking out the android openssl package directly? http://android.git.kernel.org/?p=platform/external/openssl.git;a=summary
Michael Donohue
android openssl is part of the (core) system. In some cases you want to have other OpenSSL than the system one(need another version or crypto which is not supported by default) and android-external-openssl helps you build it yourself.
kost