ClikaRT::platform
namespace
Functions
attach_android_app()
void attach_android_app(void* jni_env, void* context)
Declared in ClikaRT/platform/android.h, line 35
ClikaRT/platform/android.h
#include <ClikaRT/platform/android.h>
Hand ClikaRT your Android app's state, so the runtime can read the Android facts only the Java framework exposes.
The Android binding does this for you: ClikaRtAndroid.load(context) makes the call below before anything else. A native host that loads ClikaRT itself (its own JNI code, no binding) makes it once, from a JNI call, before its first other ClikaRT call.