sujata
unread,Sep 13, 2011, 3:04:01 AM9/13/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-ndk
hi guys........ i m facing some prblm in running the ndk code ...nd th
code is
#include <jni.h>
#include <string.h>
#include <android log.h="">
#define DEBUG_TAG "NDK_AndroidNDK1SampleActivity"
void
Java_com_mamlambo_sample_ndk1_AndroidNDK1SampleActivity_helloLog(JNIEnv
* env, jobject this, jstring logThis) {
jboolean isCopy; const char * szLogThis = (*env)-
>GetStringUTFChars(env, logThis, &isCopy);
__android_log_print(ANDROID_LOG_DEBUG, DEBUG_TAG, "NDK:LC: [%s]",
szLogThis); (*env)->ReleaseStringUTFChars(env, logThis,
szLogThis); } </android></string.h></jni.h>
the prblm is ....during runing dis code it asks the identification of
(env).this is the main prblm.....plzzz sir help me..........regards
with sujata......thanku