blob: 6b625858bc853c999efca40472e3d5363b25cdea (
plain)
1
2
3
4
5
6
7
8
|
#include <string.h>
#include <jni.h>
jstring
Java_minimalnative_MinimalNative_stringFromNative(JNIEnv* env, jobject thiz)
{
return (*env)->NewStringUTF(env, "This message comes from native code.");
}
|