Executing Java code with GMA
On Androidâ„¢ devices, Genero apps can use the Java interface.
The GMA executes a program in a JVM process and therefore does not require more resources to execute Java code.
JDK 17 is required to build Android apps. For the latest information regarding system requirements and Java support, please refer to the Supported platforms and databases document, available on the "Products" download page of the Four Js Web site.
We distinguish the following use cases where the Java interface of Genero can be used in GMA:
- Use classes from the standard Java or Android Java library.
- Implement and use user-defined Java classes, requiring GMA packaging.
- Implement and execute a user-defined Android activity, requiring GMA packaging.
Java may also be used to extend the GMA front-end with user-defined front calls. For details, see Implement front call modules for GMA.