Skip to main content

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_TRIGGER to DLKeyEvent to represent the Half Trigger (scanner aiming) event.
  • Added VSCAN_PISTOL_HALF_TRIGGER in KeyboardManager.Scancodes for half-trigger support.
  • Enhanced ScanningPreview with:
    • SCANNING_PREVIEW_DISPLAY_MODE for display mode control.
    • SCANNING_PREVIEW_DISPLAY_MODE_MANUAL_PORTRAIT_X/Y/WIDTH/HEIGHT for manual portrait positioning.
    • SCANNING_PREVIEW_DISPLAY_MODE_MANUAL_LANDSCAPE_X/Y/WIDTH/HEIGHT for manual landscape positioning.
    • SCANNING_PREVIEW_ILLUMINATION_SOURCE for preview illumination source control.

Power Management

  • Added POWER_LOGGER_GROUP as the root property group for power logging.
  • Added POWER_LOGGER_BATTERY_ENABLE, POWER_LOGGER_BATTERY_PERIOD, and POWER_LOGGER_UEVENT_ENABLE for granular battery and uevent logging.
  • Deprecated ACTION_BATTERY_START_LOG and ACTION_BATTERY_STOP_LOG intents and related extras in favor of the new power logger configuration.

USB and Charging Configuration

  • Deprecated USB_DATA in favor of USB_CLIENT_DATA and USB_HOST_DATA for more granular control.
  • Deprecated POWER_SOURCE_USB in favor of POWER_CHARGING_SOURCES for more flexible power-source management.

Security and Policy

  • Corrected BTPairingPolicy documentation 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 AccountManager API for retrieving and removing system user accounts and listening to account updates.

You can access the documentation here.