Download the application
From the Hardis server: https://nexus.hardis-group.com/#browse/browse:adelia-isv:hardis%2Fcom%2Fwagonandroid%2Freflexweb-legacy
This is the Legacy variant, which is the only one that can access configuration files.
Install the application in the Terminal
Configure the application
You can define one or more Reflex environments.
Create the /Hardis/Reflex/Conf/configurations.xml file (external storage), which contains the list of configurations.
Example of the content in this file:
<?xml version="1.0" encoding="UTF-8"?>
<configurations>
<configuration><name>Tests</name>
<url>http://<web server name>:port /reflex?RFXENV=<environment_name>&RFXPGM=HEPWAG&RFXFOR=01</url>
<key>1_Portrait</key>
<icon>favicon.ico</icon>
</configuration>
</configurations>
A configuration will need to be created for:
each Reflex environment,
each terminal orientation (portrait/landscape).
Terminal type | Value to configure | Key value |
Mobile WMS with buttons at bottom. | RFXPGM=HEPWAG&RFXFOR=01 | 1_Portrait |
Mobile WMS with buttons to the right. | RFXPGM=HEPWAG&RFXFOR=03 | 2_Landscape |
Truck driver | RFXPGM=HEPWAG&RFXFOR=02 | 3_Truck_Driver |
Touch screen application | RFXPGM=HCPWAA | 4_TouchScreenApp |
In-Store | RFXPGM=HEPWAS&RFXFOR=01 | 9A_Store |
Loading the advanced configuration parameters
Once it finds the configuration URL, the application connects to the Reflex server and searches for the parameters to be downloaded. For example, it
searches for the Key field (value of "1_Portrait" in our example above) in the REFLEX_HOME/conf/storeConfig.properties file.
Example of a storeConfig.properties file:
hardis.com.wagonandroid=[URL]url/androidApk;[URL]url/androidEmulatorConfigMobilePortrait
hardis.com.wagonandroid\:1_Portrait=[URL]url/androidApk;[URL]url/androidEmulatorConfigMobilePortrait
hardis.com.wagonandroid\:2_Landscape=[URL]url/androidApk;[URL]url/androidEmulatorConfigMobileLandscape
The REFLEX_HOME/conf/androidEmulatorConfigMobilePortrait.propertiesserver file is then downloaded.
For more details, see the Advanced configuration section.