Created
January 15, 2013 12:35
-
-
Save dapurv5/4538328 to your computer and use it in GitHub Desktop.
jni-demo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<jni.h> | |
#include "Hello.h" | |
JNIEXPORT void JNICALL Java_Hello_sayHello(JNIEnv *env, jobject object, jint len){ | |
printf("This is printed from native code\n"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment