androidutil

Types

JavaVMAttachArgs = object
  version: jint
  name: cstring
  group: jobject

Procs

proc initializeJavaVM(env: JNIEnvPtr) {....raises: [Exception], tags: [RootEffect].}
Set up the global_JavaVM Call this before doing anything else in here.
proc jniErrorMessage(err: jint): string {....raises: [], tags: [].}
Convert an error return code into a string
proc ok(rc: jint) {....raises: [ValueError], tags: [].}

Templates

template withJEnv(env: untyped; body: untyped): untyped