I have used https://datalogic.github.io/dxu/android-intents#firmware-update and it works fine.
Is it possible to receive a broadcastreceiver when dxu has completed the firmare update?
Thanks
Alessandro
I have used https://datalogic.github.io/dxu/android-intents#firmware-update and it works fine.
Is it possible to receive a broadcastreceiver when dxu has completed the firmare update?
Thanks
Alessandro
Hello Alessandro,
Today Datalogic SDK does not include any intent system for signaling the firmware update process completion. What I can suggest is to periodically check the device’s FW version, for example at boot, by registering for the Intent.ACTION_BOOT_COMPLETED (See: https://developer.android.com/reference/android/content/Intent#ACTION_BOOT_COMPLETED ), then by using the “System.Version” class supplied with Datalogic Android SDK (see: https://datalogic.github.io/android-sdk-docs/reference/com/datalogic/device/info/SYSTEM.Version.html which exposes these properites:
String | ACTION_DEVICE_INFO | Broadcast Action: This is a sticky broadcast containing the device identification number, name and other information about the terminal. |
---|---|---|
String | EXTRA_DEVICE_ID | Extra for ACTION_DEVICE_INFO : integer containing the device ID number. |
String | EXTRA_DEVICE_NAME | Extra for ACTION_DEVICE_INFO : String containing the device name. |
String | EXTRA_FW_VERSION | Extra for ACTION_DEVICE_INFO : String containing the device firmware version. |
String | EXTRA_HW_REVISION | Extra for ACTION_DEVICE_INFO : integer containing the device hardware revision. |
String | EXTRA_SCAN_ENGINE | Extra for ACTION_DEVICE_INFO : String containing the device’s scan engine module ID. |
String | EXTRA_SDK_VERSION | Extra for ACTION_DEVICE_INFO : String containing the device Datalogic SDK version. |
Simone Callegari
L3 - Mobile Products Specialist SW Engineer | Datalogic