GAMES PC DOWNLOAD FREE FULL

GAME

[Adroid NDK] Passing String JINI

thumbnail 123456789 JNIEXPORT void JNICALLJava_MyJavaClass_printName(JNIEnv *env, jobject obj, jstring name){ const char *str= (*env)->GetStringUTFChars(env,name,0); printf(“%s”, str); //need to release this string when done with it in //order to av…

[Android NDK ] Passing JNI Arrays

thumbnail123456789JNIExport jint JNICALL Java_IntArray_sumArray(JNIEnv *env, jobject obj, jintArray arr){ jsize len = *env->GetArrayLength(env,arr); jint *body = *env->GetIntArrayElements(env,arr,0); for (jint i = 0; i len; ++i){ sum += body[i]; } *env…

[Android NDK] Returning String array from C program to Java(JNI)

thumbnail Returning String array from C program to Java#include     #include "ArrayHandler.h"       JNIEXPORT jobjectArray JNICALL                  Java_ArrayHandler_returnArray    (JNIEnv *env, jobject jobj){         jobjectArray ret;      int i;         cha…

NEW GAME

Powered by Blogger.

Labels

Quotes

1. Những cô gái giống như những tên miền Internet, những tên đẹp mà ta thích đã có chủ nhân rồi!


Popular Posts