Packaging custom Java™ extensions for GMA

Custom Java extension must be integrated in the GMA to run on Android™ devices.

Genero Mobile apps for Android are created from Genero Studio, or from the command-line with gmabuildtool: You need to provide the custom GMA binary archive containing your Java extensions, to Genero Studio or to gmabuildtool.

Along with the GMA binary archive, you must provide the .jar files of your Java extensions, that will be used to compile Genero application code on the development machine, as well as the .apk Android packages of GMA, to deploy the front-end part on the device for client/server development (typically with user-defined front calls).

The original GMA binary archive is a zip file containing several .aar Android libraries. A customized GMA binary archive contains the .aar files from the GMA core libraries, the Genero runtime system core libraries, and custom .aar files build from your own Java libraries. The custom .aar libs are created from Android Studio. The minimum Android Studio version is 0.8.9.

To create a new GMA binary archive, the extension.jar file, and the .apk packages, including your Java extensions, perform the steps described in Custom GMA binary archive build.

After completing these steps: