#include #include #include #define TAG "WindVisualizationNative" extern "C" JNIEXPORT jstring JNICALL Java_org_terst_nav_MainActivity_stringFromJNI( JNIEnv* env, jobject /* this */) { std::string hello = "Hello from C++"; __android_log_print(ANDROID_LOG_INFO, TAG, "stringFromJNI called!"); return env->NewStringUTF(hello.c_str()); }