Supporting services for the FFI with Java and to access Java libraries

This modules relies on Sys::jvm, Sys::jni_env and Sys::create_default_jvm to get a handle on a JVM. You can adapt the behavior of the FFI and services in this module by redefing Sys::create_default_jvm and supply your own JVM object. You can manage multiple java thread by switching the current environment in a redef of Sys::jni_env, and multiple JVM using Sys::jvm.

See also, the module jvm to control the JVM instances and access JNI functions. You can use it to further customize the behavior of your code.

All subgroups and modules

module collections

java :: collections

Basic Java collections
module ffi_support

java :: ffi_support

Core supporting services for the FFI with Java
module io

java :: io

Services from the java.io package
module java

java :: java

Supporting services for the FFI with Java and to access Java libraries
package_diagram java\> java jvm jvm java\>->jvm core core jvm->core ...core ... ...core->core android android android->java\> app app app->android egl egl egl->android gamnit gamnit gamnit->android glesv2 glesv2 glesv2->android app... ... app...->app egl... ... egl...->egl gamnit... ... gamnit...->gamnit glesv2... ... glesv2...->glesv2

Ancestors

group codecs

core > codecs

Group module for all codec-related manipulations
group collection

core > collection

This module define several collection classes.
group core

core

Nit common library of core classes and methods
group text

core > text

All the classes and methods related to the manipulation of text entities

Parents

group jvm

jvm

Java Virtual Machine invocation API and others services from the JNI C API

Children

group android

android

Android platform support and APIs

Descendants

group bundle

android > bundle

A mapping class of String to various value types used by the
group depth

gamnit > depth

gamnit depth, a framework to create portable 3D games in Nit.
group egl

egl

Interface between rendering APIs (OpenGL, OpenGL ES, etc.) and the native windowing system.
group examples

app > examples

group flat

gamnit > flat

Simple API for 2D games, built around Sprite and App::update
group gamnit

gamnit

Portable game and multimedia framework for Nit
group glesv2

glesv2

OpenGL graphics rendering library for embedded systems, version 2.0
group intent

android > intent

Services allowing to launch activities and start/stop services using
group notification

android > notification

Services to show notification in the Android status bar
group service

android > service

Android service support for app.nit centered around the class Service
group shared_preferences

android > shared_preferences

Services allowing to save and load datas to internal android device
group src

android > examples > src

group ui

android > ui

Views and services to use the Android native user interface
group virtual_gamepad

gamnit > virtual_gamepad

Virtual gamepad mapped to keyboard keys for quick and dirty mobile support