Skip to content

Instantly share code, notes, and snippets.

@dapurv5
Created January 15, 2013 12:35
Show Gist options
  • Save dapurv5/4538328 to your computer and use it in GitHub Desktop.
Save dapurv5/4538328 to your computer and use it in GitHub Desktop.
jni-demo
#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