Added android JNI support