Android Support Guide: Difference between revisions
No edit summary |
(Updated troubleshooting in Android support guide) |
||
Line 24: | Line 24: | ||
The Android version of the RDT program is installed in exactly the same place as the existing RDT program RDTMenu1.exe and is called RDTMeni1_Android.exe. | The Android version of the RDT program is installed in exactly the same place as the existing RDT program RDTMenu1.exe and is called RDTMeni1_Android.exe. | ||
=== Debug Settings === | |||
In "C:\Program Files\Barcoders\AndroidStudio" there are two configuration files: | In "C:\Program Files\Barcoders\AndroidStudio" there are two configuration files: | ||
Line 61: | Line 63: | ||
* Debug | * Debug | ||
Logging is exported to the command window of the application. | Logging is exported to the command window of the application. | ||
Logging is also sent to the server log. | |||
Debug mode can also be enabled on the shortcut when running the ABSServer, e.g. | |||
"C:\Program Files\Barcoders\AndroidStudio\Android Connector.exe" --debug | |||
=== Versions === | |||
When running the system, the Android application and the Android Server connector must be the compatible versions. | When running the system, the Android application and the Android Server connector must be the compatible versions. | ||
Line 71: | Line 81: | ||
* Find Warehouse Terminal | * Find Warehouse Terminal | ||
* Check version | * Check version | ||
To check the Server version, check the latest updated version number in the upgrade log. | |||
== Troubleshooting Guide == | == Troubleshooting Guide == | ||
Line 76: | Line 89: | ||
* Check can other Wavelink devices connect | * Check can other Wavelink devices connect | ||
** Proves system up and running | ** Proves system up and running | ||
* Check error on device | * Check error on device | ||
** When using the app on a wireless device, the application being used is subject to the connectivity of the device to the network and to the application. If there are any issues with the network connectivity or the app cannot be accessed, the application will display the main screen, showing "Error Connecting". Ensure that there is a network connection, then advise hit any key on any physical or popup keyboard to reconnect. | ** When using the app on a wireless device, the application being used is subject to the connectivity of the device to the network and to the application. If there are any issues with the network connectivity or the app cannot be accessed, the application will display the main screen, showing "Error Connecting". Ensure that there is a network connection, then advise hit any key on any physical or popup keyboard to reconnect. | ||
Line 82: | Line 97: | ||
** If system selected then splash screen displays, then Error connecting to WCS | ** If system selected then splash screen displays, then Error connecting to WCS | ||
*** Check WCS running - basic WCS issue | *** Check WCS running - basic WCS issue | ||
* Check Android Connector Window | * Check Android Connector Window | ||
** If not already running, use "Start Barcoders Admin" shortcut on Desktop, or "C:\Program Files\Barcoders\AndroidConnectorWindow\TermProtoTestWindow.exe" | ** If not already running, use "Start Barcoders Admin" shortcut on Desktop, or "C:\Program Files\Barcoders\AndroidConnectorWindow\TermProtoTestWindow.exe" | ||
* Check command window open | * Check command window open | ||
** Command window will be named "Start Barcoders Server", or "C:\Program Files\Barcoders\AndroidStudio\Android Connector.exe" | ** Command window will be named "Start Barcoders Server", or "C:\Program Files\Barcoders\AndroidStudio\Android Connector.exe" | ||
** Check Task Manager that it is running | ** Check Task Manager that it is running | ||
** Start if not | ** Start if not | ||
* Check license | |||
** Look at license.xml file | |||
** Shows users and expiration. | |||
** Note: This file cannot be modified as it is checked. Modifications will fail the check and the system will be useless. | |||
** Compare total number of users in the Barcoders Admin window - if there are connected devices up to the maximum, no more users can connect. | |||
* Check for versions | * Check for versions | ||
** Confirm version of Android connector version in server logs or in Upgrade log. | ** Confirm version of Android connector version in server logs or in Upgrade log. | ||
Line 93: | Line 121: | ||
** Confirm validity and compatibility of versions - check local project documentation. | ** Confirm validity and compatibility of versions - check local project documentation. | ||
** Advise update device for compatibility | ** Advise update device for compatibility | ||
* Check for errors in the server. | * Check for errors in the server. | ||
** Check the command window. | ** Check the command window. |
Revision as of 17:20, 15 December 2023
Android Support Guide
References:
Filesystem:
- "C:\Program Files\Barcoders" - the ABSStudio files
- "C:\logs" - contains:
- barcoders_upgrade.log - the upgrade log
- ACDebugLog.txt - the server log
- "C:\data"
Shortcuts should be created on the desktop:
- "Start Barcoders Server" - the server itself - should already be running
- "Start Barcoders Admin" - similar to Wavelink Administrator - shows the connected devices and licenses.
- "Start Barcoders Updater" - for updating the version.
The ABSStudio Server runs in a command window that must remain open at all times. Do not close this window as this will stop all Android functionality for that customer.
When Android devices connect, the processes will be running under the "Start Barcoders Server" - it is from here that they can be killed with Task Manager.
The Android version of the RDT program is installed in exactly the same place as the existing RDT program RDTMenu1.exe and is called RDTMeni1_Android.exe.
Debug Settings
In "C:\Program Files\Barcoders\AndroidStudio" there are two configuration files:
- appsettings.json - application log levels
- config.json - the applications being run by ABSStudio
To configure applications that can be run by the system, add entries to the config.json file, example below:
{ "ProgramTasks": [ { "ExecutablePath": "C:/WCSTEST/RDTMenu1_Android.exe", "Name": "RDTMenu1 (TEST)", "UsePipes": "True", }, { "ExecutablePath": "C:/WCSLIVE/RDTMenu1_Android.exe", "Name": "RDTMenu1 (LIVE)", "UsePipes": "True", }, ] }
To change logging for the application, modify the Logging setting of the appsettings.json file, example below:
"Logging": { "LogLevel": { "Default": "Info", "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Error" } },
Values can be changed to
- Info
- Warning
- Error
- Debug
Logging is exported to the command window of the application.
Logging is also sent to the server log.
Debug mode can also be enabled on the shortcut when running the ABSServer, e.g.
"C:\Program Files\Barcoders\AndroidStudio\Android Connector.exe" --debug
Versions
When running the system, the Android application and the Android Server connector must be the compatible versions.
To see the Android app version, get the user to:
- Go to Settings
- Apps
- Find Warehouse Terminal
- Check version
To check the Server version, check the latest updated version number in the upgrade log.
Troubleshooting Guide
Android device can't connect
- Check can other Wavelink devices connect
- Proves system up and running
- Check error on device
- When using the app on a wireless device, the application being used is subject to the connectivity of the device to the network and to the application. If there are any issues with the network connectivity or the app cannot be accessed, the application will display the main screen, showing "Error Connecting". Ensure that there is a network connection, then advise hit any key on any physical or popup keyboard to reconnect.
- If displays selection of system then does not show WCS splash screen:
- Check Android app set up properly in JSON config settings.
- If system selected then splash screen displays, then Error connecting to WCS
- Check WCS running - basic WCS issue
- Check Android Connector Window
- If not already running, use "Start Barcoders Admin" shortcut on Desktop, or "C:\Program Files\Barcoders\AndroidConnectorWindow\TermProtoTestWindow.exe"
- Check command window open
- Command window will be named "Start Barcoders Server", or "C:\Program Files\Barcoders\AndroidStudio\Android Connector.exe"
- Check Task Manager that it is running
- Start if not
- Check license
- Look at license.xml file
- Shows users and expiration.
- Note: This file cannot be modified as it is checked. Modifications will fail the check and the system will be useless.
- Compare total number of users in the Barcoders Admin window - if there are connected devices up to the maximum, no more users can connect.
- Check for versions
- Confirm version of Android connector version in server logs or in Upgrade log.
- Confirm Android version on device
- Confirm validity and compatibility of versions - check local project documentation.
- Advise update device for compatibility
- Check for errors in the server.
- Check the command window.
- Check the server log.