Hi Dave and all.
Basically in order to use LibLouis within an Android app you want to create an
android JNI project. You'll have to use the tool "ndk-build" to bbuild the
native libraries under Linux. This comes with the Android platform tools. There
are instructions at the "Android Developer" site that describe how to create a
JNI project.
You'll also need a Java class to interface with the JNI bindings.
Beyond that you just use it like any Android application. Build and install it
from Eclipse or using the ant command-line tool.
JNI can be pretty tedious but once it is set up with the interface from Java to
the native C JNI interface it works great.
You can probably use the LibLouis Java interface as a model for your Java
interface but you'll probably have to write your own JNI C interface.
K
-----Original Message-----
From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of Christian Egli
Sent: Tuesday, December 22, 2015 2:52 AM
To: liblouis-liblouisxml@xxxxxxxxxxxxx; Dave Mielke
Subject: [liblouis-liblouisxml] Re: Using liblouis within an Android app.
Hi Dave
On Sat, Dec 12, 2015 at 04:51:34PM -0500, Dave Mielke wrote:
Do you know what needs to be done in order to use liblouis within an
Android app? Is there a Java wrapper for it? If so, does the Java
wrapper need a particular verison of liblouis, and, if so, is a
prebuilt verion of it for Android available somewhere? Best would be if
there's an apk for it.