Created
March 28, 2020 14:12
-
-
Save turkergoksu/bd36934026bdc2eb1c8ca5fe220b005f to your computer and use it in GitHub Desktop.
This file contains 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 <jni.h> | |
#include <string> | |
extern "C" JNIEXPORT jstring JNICALL | |
Java_me_turkergoksu_kefilm_ApiKeyLibrary_getMovieDbApiKeyFromJNI(JNIEnv *env, jobject object) { | |
std::string movieDbApiKey = "YOUR_API_KEY_HERE"; | |
return env->NewStringUTF(movieDbApiKey.c_str()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment