Initialization (Android only)

This module initializes the JavaVM and Android activity context.

Summary

Important: This function is only used by Android and it's mandatory to call this function before using any other Cardboard APIs.

Functions

Cardboard_initializeAndroid(JavaVM *vm, jobject context)
void
Initializes JavaVM and Android activity context.

Functions

Cardboard_initializeAndroid

void Cardboard_initializeAndroid(
  JavaVM *vm,
  jobject context
)

Initializes JavaVM and Android activity context.

Details
Parameters
vm
JavaVM pointer
context
Android activity context