Luxand FaceSDK – Using with Android

For Android Studio you need to copy the subdirectories contained in bin/android/ to the app/src/main/jniLibs directory of your project. Also you need to add the include/android/FSDK.java file to the app/src/main/java/com/luxand directory.

For Eclipse ADT you need to copy the subdirectories contained in bin/android/ to the libs/ directory of your project. You also need to add the include/android/FSDK.java file to the src/com/luxand/ directory.

The syntax of some functions on Android is different from the corresponding Java syntax due to the usage of JNI instead of JNA.

Note: Only armv7 (armeabi-v7a) and x86 architectures are supported by FaceSDK on the Android platform.

The FSDK class is provided in the binary code form only. Therefore, the "com.luxand" package name of this class cannot be changed.

 

Next chapterUnicode Support

Contents