mirror of https://github.com/BOINC/boinc.git
13 lines
439 B
C
13 lines
439 B
C
#include <jni.h>
|
|
#include "include/dummy.h"
|
|
|
|
// 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.
|
|
|
|
JNIEXPORT jstring JNICALL Java_edu_berkeley_boinc_BOINCActivity_getDummyString
|
|
(JNIEnv *env, jobject thisObj) {
|
|
return (*env)->NewStringUTF(env, "Hello from native code!");
|
|
}
|