Datalogic Android SDK 1.49
· 2 min read
Datalogic Android SDK 1.49 is now available.
This update introduces enhancements across scanning preview control, power logging, USB and charging configuration, Bluetooth policy documentation, and account management.
Overview
Scanning and Trigger Management
- Added
KEYCODE_HALF_TRIGGERtoDLKeyEventto represent the Half Trigger (scanner aiming) event. - Added
VSCAN_PISTOL_HALF_TRIGGERinKeyboardManager.Scancodesfor half-trigger support. - Enhanced ScanningPreview with:
SCANNING_PREVIEW_DISPLAY_MODEfor display mode control.SCANNING_PREVIEW_DISPLAY_MODE_MANUAL_PORTRAIT_X/Y/WIDTH/HEIGHTfor manual portrait positioning.SCANNING_PREVIEW_DISPLAY_MODE_MANUAL_LANDSCAPE_X/Y/WIDTH/HEIGHTfor manual landscape positioning.SCANNING_PREVIEW_ILLUMINATION_SOURCEfor preview illumination source control.
Power Management
- Added
POWER_LOGGER_GROUPas the root property group for power logging. - Added
POWER_LOGGER_BATTERY_ENABLE,POWER_LOGGER_BATTERY_PERIOD, andPOWER_LOGGER_UEVENT_ENABLEfor granular battery and uevent logging. - Deprecated
ACTION_BATTERY_START_LOGandACTION_BATTERY_STOP_LOGintents and related extras in favor of the new power logger configuration.
USB and Charging Configuration
- Deprecated
USB_DATAin favor ofUSB_CLIENT_DATAandUSB_HOST_DATAfor more granular control. - Deprecated
POWER_SOURCE_USBin favor ofPOWER_CHARGING_SOURCESfor more flexible power-source management.
Security and Policy
- Corrected
BTPairingPolicydocumentation with accurate behavior for all policies:- STANDARD: full pairing prompts.
- SIMPLE: single confirmation popup.
- SILENT: fully silent pairing and allows any device.
- SECURED: blocks unauthorized peripherals and allows only whitelisted or trusted devices.
Account Management
- Added the new
AccountManagerAPI for retrieving and removing system user accounts and listening to account updates.
You can access the documentation here.
