Monado OpenXR Runtime
|
Implementations for loading Java code from a package. More...
#include "android_load_class.hpp"
#include "util/u_logging.h"
#include "wrap/android.content.h"
#include "wrap/android.content.pm.h"
#include "wrap/dalvik.system.h"
#include "jni.h"
#include <dlfcn.h>
Functions | |
static std::string | xrt::auxiliary::android::getRuntimeSourceDir () |
Hacky way to retrieve runtime source dir. More... | |
ApplicationInfo | xrt::auxiliary::android::getAppInfo (std::string const &packageName, jobject application_context) |
wrap::java::lang::Class | xrt::auxiliary::android::loadClassFromPackage (ApplicationInfo applicationInfo, jobject application_context, const char *clazz_name) |
wrap::java::lang::Class | xrt::auxiliary::android::loadClassFromApk (jobject application_context, const char *apk_path, const char *clazz_name) |
wrap::java::lang::Class | xrt::auxiliary::android::loadClassFromRuntimeApk (jobject application_context, const char *clazz_name) |
void * | android_load_class_from_package (struct _JavaVM *vm, const char *pkgname, void *application_context, const char *classname) |
Variables | |
static constexpr char | xrt::auxiliary::android::kIntentAction [] = "org.khronos.openxr.OpenXRRuntimeService" |
Implementations for loading Java code from a package.
|
static |
Hacky way to retrieve runtime source dir.
References xrt::auxiliary::android::getRuntimeSourceDir().
Referenced by xrt::auxiliary::android::getRuntimeSourceDir().