libunbound on android

Jeffrey Walton noloader at gmail.com
Sat Feb 29 19:08:24 UTC 2020


On Sat, Feb 29, 2020 at 12:43 PM Thilo Molitor via Unbound-users
<unbound-users at lists.nlnetlabs.nl> wrote:
>
> is there any project or documentation to build libunbound for android to use
> it in a android app (java)?

There's a PR against Master for testing a build on Android armv7a,
aarch64, x86 and x86_64. Also see
https://github.com/NLnetLabs/unbound/pull/174.

The PR includes a README-Travis.md which explains what is happening
with the Android tests. The PR shows you how to build Unbound for
Android using the current NDKs (ndk-r19, ndk-r20 and ndk-r21).
However, the PR stops short of running tests on an emulator or
creating an Android Activity.

Using Unbound from an Android Activity is basic JNI. The JNI gyrations
you would do for any other library (like Crypto++ or OpenSSL), you
would do for Unbound.

Jeff


More information about the Unbound-users mailing list