Passing string to native and printing properly
new HelloWorld().printName("Aldrich");
C++:
JNIEXPORTvoid JNICALL
Java_nativeloader_HelloWorld_printName (JNIEnv *env, jobject obj, jstring name)
{
cout<<"NAME: "<<name;
}
Output:
NAME:0007FAC8
Question:
How will i make it print properly?
thanks>

