JNI integration (Android still doesn't work)