Convert JNI types to Native types

You just need to cast jintto int using C style casts. Same for jboolean to bool (if you’re using C99 bool type) or to uint8_t (if you’re using std int types) or to unsigned char.

Open $NDK_ROOT/platforms/android-8/arch-arm/usr/include/jni.h and you’ll see jint, jboolean etc are just typedefs.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)