2013-06-03 15:46:42 +00:00
|
|
|
#include <jni.h>
|
|
|
|
#include "include/dummy.h"
|
2013-11-16 16:42:28 +00:00
|
|
|
|
|
|
|
// this library's purpose is to trigger implicit architecture filters in GooglePlay.
|
|
|
|
// in order to build the library, get the Android NDK and run
|
|
|
|
// ndk-build
|
|
|
|
// in the root directory of this project.
|
2013-06-03 15:46:42 +00:00
|
|
|
|
|
|
|
JNIEXPORT jstring JNICALL Java_edu_berkeley_boinc_BOINCActivity_getDummyString
|
|
|
|
(JNIEnv *env, jobject thisObj) {
|
|
|
|
return (*env)->NewStringUTF(env, "Hello from native code!");
|
|
|
|
}
|