Fun project with Android NDK and JNI