Skip to content

Instantly share code, notes, and snippets.

@qamarelsafadi
Created June 16, 2023 12:01
Show Gist options
  • Save qamarelsafadi/219e94ca524b460099a1ff3249b5ee38 to your computer and use it in GitHub Desktop.
Save qamarelsafadi/219e94ca524b460099a1ff3249b5ee38 to your computer and use it in GitHub Desktop.
//
// Created by Qamar Safadi on 16/06/2023.
//
#include <jni.h>
#include <string>
extern "C"
jstring
Java_com_qamar_myapplication_MainActivity_secureText(
JNIEnv* env,
jobject /* this */) {
std::string baseURL = "https://test/";
return env->NewStringUTF(baseURL.c_str());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment