Genero mobile development client for Android

Set up a development environment to display app forms on an Android device.

Using the GMA front-end on Androidâ„¢ devices

To display Genero application forms on an Android device in development mode (with programs executing on a computer), the GMA front-end app must be installed on the device (or emulator).

Note: With the GMA front-end installed on the mobile device, you can perform a classic GUI connection based on FGLSERVER.

Building the GMA front-end application

Before building the GMA front-end, fullfill the prerequisites to build an Android app as described in Building Android apps with Genero.

Get the GMA package (for ex, fjs-gma-1.20.05-build201602101754.zip), extract the APK archive for your device type. Plug your devices via USB cable to the computer to copy and install the GMA front-end APK, or use the gmabuildtool command with the test option:
$ . ~/genero/devel/fgl/mobile/java-1.8.env 
$ . ~/genero/devel/fgl/mobile/android-sdk.env 
$ mkdir /tmp/gma
$ cd /tmp/gma
$ unzip ~/Download/fjs-gma-1.20.05-build201602101754-allos.zip 
Archive:  ~/Download/fjs-gma-1.20.05-build201602101754-allos.zip
  ...
  inflating: fjs-gma-1.20.05-build201602101754-d32a040.apk  
  inflating: fjs-gma-1.20.05-build201602101754-d32x040.apk  
  ...
$ gmabuildtool test --test-apk ./fjs-gma-1.20.05-build201602101754-d32a040.apk
...

Once the GMA front-end is installed on the device, make sure that WIFI is enabled and start the GMA app. The main GMA screen shows the IP address of the device and the TCP port it is listening to (0=6400).

On the development machine, define the FGLSERVER environment variable with the IP address of the device.

Now you are ready to run your app on the server and display on the Android device.