Browse bundled apps

When you install Genero Mobile for Android, it creates two directories on the internal SD card of your device, GeneroApps and InternalGeneroApps. The GeneroApps directory provides an alternate method for testing your app on your device.

InternalGeneroApps

The InternalGeneroApps is in the installation directory for the apps. It is a private area. You cannot access this directory from the computer.

To view the PhoneDemo app:
  1. Tap InternalGeneroApps.
  2. Tap MobileDemo.xcf.

GeneroApps

GeneroApps lists the directories, app executable files (42r) and app configuration files (xcf) available in the GeneroApps directory.

This provides a method for testing an app on the Android device without having to package and deploy the app.
  1. Connect your Android device to your computer using the USB port.
  2. From your computer, access the internal SD card using a file browser.
    Note: To navigate directories on your device, use USP MTP (media device) mode instead of Camera (PTP) mode. Set this under Settings >> Storage >> USB computer connection (found by accessing the three-dot menu in the upper right corner of your device).
  3. Drag & drop the compiled app files (42m, 42f, 42r, xcf, and so on) into the GeneroApps directory.
  4. On your device, tap Browse bundled apps.
  5. Tap GeneroApps.
  6. Tap on a program file (42r) or a program configuration file (xcf) to start the app.
    • An app executable file (42r) launches the app with the default settings.
    • An app configuration file (xcf) launches the app according to the contents of this configuration file. See Create an app configuration file.

Create an app configuration file

During development, when you drag and drop your files into the GeneroApp folder, you can include an app configuration (xcf) file to launch the app. In this file, you can set app parameters, set environment variables, and so on.

For example:
<?xml version="1.0"?>
<!-- Copyright 2006-2013 Four J's Development Tools. All Rights Reserved. -->
<APPLICATION
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:noNamespaceSchemaLocation="http://www.4js.com/ns/gas/2.20/cfextwa.xsd">
  <EXECUTION>
    <PATH>./stores2</PATH>
    <MODULE>main.42r</MODULE>
    <ENVIRONMENT_VARIABLE Id="DBDATE">DMY4-</ENVIRONMENT_VARIABLE>
  </EXECUTION>
</APPLICATION>
Important: This file is only required when you have specific configuration needs to set, such as parameters/arguments for the app or environment variables.
Creating an app configuration file is detailed in the Genero Application Server User Guide.