Datalogic Android SDK 1.47
Datalogic Android SDK 1.47 is now available.
This latest update expands the SDK’s capabilities in advanced device management, connectivity privacy, and intelligent automation. Key highlights include new system-level controls in the DeviceManager - such as remote shutdown and locking - and granular control over location, Wi-Fi, and Bluetooth scanning behaviors. This release also introduces the PoseManagerAPI (exclusive to Joya Smart A15), allowing devices to trigger specific actions based on their physical orientation and gravity vector.
To streamline workflow automation, developers can now use the addProfileUrlRule() API for automatic profile switching based on loaded URLs (This only applies to applications that integrate the Android WebView) and leverage new IME Actions within the Keyboard Wedge to trigger post-scan events like "Search" or "Send."
Additionally, this version paves the way for Android 15 support with new scanning preview properties and enhancements to the behaviors of remapped power keys.
You can access the documentation here.
Enhancements
- Added
addProfileUrlRule()API to enable automatic profile switching when specific URLs are loaded. - Added
REBOOT_SAFE_MODE_ENABLEDproperty to enable/disable the UI option for rebooting into safe mode. - Added
DATE_AND_TIME_CURRENT_TIMEproperty to programmatically set the device's current date and time. - Added
shutdown()andlock()methods toDeviceManagerfor shutting down and locking the device. - Added
getFirstBootDate()method inManufacturerInfoto retrieve the battery's first boot date. - Added
POWER_WAKEUP_REMAPPED_POWER_KEYproperty to control whether a remapped power key can wake the device. - Added
KEYBOARD_REMAPPED_POWER_KEY_ACTION_IN_SUSPENDproperty to define the behavior of a remapped power key when the device is suspended. - Added
WEDGE_KEYBOARD_IME_ACTION_AFTERproperty to allow sending an IME action after a successful barcode scan followed by a Keyboard Wedge. Actions are defined in theImeActionenum:- SKIP
- UNSPECIFIED
- NONE
- GO
- SEARCH
- SEND
- NEXT
- DONE
- PREVIOUS
- Added 3 new properties to actively enable/disable location access, Wi-Fi scanning, and Bluetooth scanning.
LOCATION_MODE_ENABLE- This parameter enables location access for apps and services.WIFI_SCAN_ENABLE- This parameter enables apps and services to scan for Wi-Fi networks at any time, even when Wi-Fi is off.BLUETOOTH_SCAN_ENABLE- This parameter enables apps and services to scan for nearby devices at any time, even when Bluetooth is off.
- Added
PoseManagerAPIs and new propertyPOSE_MANAGER_DEVICE_POSESto allow registering different device poses (characterized by a unique name and gravity vector) and associate to them actions that will be executed when the device finds itself inside or outside any device pose (only supported on Joya Smart A15). - Added
SCANNING_PREVIEW_*properties to support previewing while decoding or manually triggering via SDK (only supported on Android 15). - Public
DLCradleManagerconstructor. - Added new
SYSTEMfieldDEVICE_NAMEto get the device name identifier.
