How to preconfigure Android application
Starting with Wallboard Android application version 3.0.112, users can configure fresh applications with a JSON file.
On Rooted device:
- Copy the application installer (.apk) to a pendrive.
- Create a config.json file into the root folder of the pendrive.
- Copy the following into the JSON file, and set the required configuration.
{
"serverUrl": "https://server.mycompany.com",
"installRuleKey": "",
"advanced": {
"debugLog": false,
"deviceType": "MEDIA_BOX",
"lockDevice": false
}
}
- Install the application on the device and start it.
- When the application first starts it will automatically recognize the config.json on the pendrive and sets up the settings.
On Non-rooted device:
- Copy the application installer (.apk) to a pendrive.
- Create a config.json file into the root folder of the pendrive,
- Copy the following into the JSON file, and set the required configuration.
{
"serverUrl": "https://server.mycompany.com",
"installRuleKey": "",
"advanced": {
"debugLog": false,
"deviceType": "MEDIA_BOX",
"lockDevice": false
}
}
- Install the application on the device, and start it.
- In the appearing configuration window, open the Advanced options menu.
- Click "Read configuration from external storage" which will open the file manager.
- Find the config.json on the pendrive and select it.
- The application will now apply the configuration.