[SOLVED] Irrlicht Android - nativeEnvJ2C
Posted: Tue Jan 28, 2014 5:06 pm
I ran into problem - my test application displays in LogCat
The problem in the following funciton
What this function (nativeEnvJ2C) makes? Why I cannot handle SD card?
Code: Select all
com.ellismarkov.irrlicht Irrlicht not handled /mnt/sdcard
Code: Select all
void Java_com_ellismarkov_irrlicht_IrrlichtTest_nativeEnvJ2C(JNIEnv* env, jobject defaultObj, jstring jsdcardPath)
{
char ligne[1024 + 1];
const char *msg = env->GetStringUTFChars(jsdcardPath, 0);
gSdCardPath = msg;
__android_log_print(ANDROID_LOG_INFO, "Irrlicht", "not handled %s", gSdCardPath.c_str()); //=> ERROR IS HERE
env->ReleaseStringUTFChars(jsdcardPath, msg);
}