Datalogic Android SDK 1.51
· 6 min read
Datalogic Android SDK 1.51 is now available.
This update introduces expanded Profile Manager capabilities, RFID and BLE tracker support for M12 RFID devices, and new connectivity, input, scanning, display, and security features for Android 15 devices.
Supported on Android 13 and Android 15
Profile Manager
- Made
editProfile()publicly available. - Added
getProfile()to retrieve a profile's property map. - Added
getProfileRule()to retrieve the characteristics of a profile rule. - Added
getLoadedAutomaticProfile()to retrieve the name of the automatically loaded profile.
Profile Manager Intent-Based API
- Added
ACTION_CREATE_PROFILE,ACTION_DELETE_PROFILE,ACTION_EDIT_PROFILE,ACTION_LOAD_PROFILE, andACTION_UNLOAD_PROFILEactions. - Added
ACTION_ADD_PROFILE_RULEandACTION_REMOVE_PROFILE_RULEfor profile rule management, including URL rules. - Added
ACTION_QUERY_PROFILE_MANAGERto query profiles, profile rules, loaded profiles, and the lists of available profiles and rules. - Added
EXTRA_RESPONSE_ACTIONandEXTRA_STATUS_CODEfor asynchronous responses. - Added profile extras
EXTRA_PROFILE_NAME,EXTRA_PROFILE_PROPERTIES,EXTRA_PROFILE_DESCRIPTION, andEXTRA_PROFILE_PERSISTENCE. - Added profile rule extras
EXTRA_PROFILE_RULE_NAME,EXTRA_PROFILE_RULE_PROFILE,EXTRA_PROFILE_RULE_PACKAGE,EXTRA_PROFILE_RULE_ACTIVITIES, andEXTRA_PROFILE_RULE_URL. - Added query selector extras
EXTRA_LOADED_MANUAL_PROFILE,EXTRA_LOADED_AUTOMATIC_PROFILE,EXTRA_PROFILES_LIST, andEXTRA_PROFILE_RULES_LIST.
Supported on M12 RFID Devices Running Android 15 or Later
BLE Tracker
- Added
BLE_GROUPinPropertyGroupIDas the root group for BLE configuration. - Added
BLE_ADVERTISING_POLICYto control BLE advertising behavior. - Added
BLE_ADVERTISING_BEACON_PAYLOAD_POLICYto select the advertising beacon payload policy. - Added
BLE_ADVERTISING_BEACON_PAYLOAD_CUSTOMto set a custom advertising beacon payload. - Added
BLE_RINGING_SOUNDto select the ringing sound for BLE finder commands. - Added
AdvertisingPolicyenum withDISABLED,ENABLED, andAUTOMATICvalues. - Added
AdvertisingBeaconPayloadPolicyenum withMODEL_SNandCUSTOMvalues. - Added
RingingSoundenum withBARIUM,BEEP_BEEP_BEEP_ALARM,BUZZER_ALARM,CESIUM,HELIUM,KRYPTON,OSMIUM,PIEZO_ALARM,SCANDIUM, andCUSTOMvalues.
RFID Subsystem
- Added RFID subsystem support with new
RfidManagerAPIs, allowing apps to start and stop inventory sessions, receive tag events, and perform read, write, and lock operations on tags. - Added
RfidManager,RfidResult,RfidFilter, andRfidPassword. - Added
RfidReadListener,RfidStartListener,RfidStopListener, andRfidTimeoutListener. - Added
RfidLockObject,RfidLockType,RfidMemoryBankRegion, andRfidException.
RFID Configuration
- Added RFID configuration support in Configuration Manager for centralized control of RFID behavior, RF profile, timing, and Scanner service injection.
- Added
RFID_GROUPinPropertyGroupIDas the root group for RFID configuration. - Added
RFID_ENABLEto enable or disable RFID functionality. - Added
RFID_POWER_LEVELto set the RFID transmission power. - Added
RFID_SESSION_POLICYto select the RFID session policy. - Added
RFID_Q_PARAMETER_POLICYto configure the RFID Q parameter policy. - Added
RFID_INVENTORY_POLICYto set timed or continuous inventory behavior. - Added
RFID_TIMEOUTto define the inventory timeout. - Added
RFID_TARGET_POLICYto select the RFID target policy. - Added
RFID_MODE_POLICYto control how read tags are reported. - Added
RFID_INJECT_TO_SCANNERto forward RFID reads to the Scanner service. - Added
RFID_PROFILE_POLICYto select the RFID RF and modulation profile. - Added enums
RfidSessionPolicy,RfidQParameterPolicy,RfidInventoryPolicy,RfidTargetPolicy,RfidModePolicy, andRfidProfilePolicy. - Added
KEYCODE_RFIDtoDLKeyEventandRFIDtoBarcodeID.
Supported on All Android 15 Devices
Connectivity
- Added
WIFI_MOBILE_PRIORITY_POLICYto select whether Wi-Fi or mobile data is preferred when both are available. - Added
WifiMobilePriorityPolicyenum withDEFAULTandMOBILE_PREFERREDvalues. - Unified the Wi-Fi connected and disconnected scan interval configuration for Android 15 and later.
- Added
WIFI_SCREEN_ON_SCAN_INTERVALto set the minimum interval between screen-on Wi-Fi scans, regardless of connection state. - Added
WIFI_SCREEN_ON_SCAN_INTERVAL_MAXto set the maximum interval between screen-on Wi-Fi scans. - The existing
WIFI_SCAN_INTERVAL,WIFI_SCAN_INTERVAL_MAX,WIFI_CONNECTED_SCAN_INTERVAL, andWIFI_CONNECTED_SCAN_INTERVAL_MAXproperties apply to versions earlier than Android 15. - Added
NetworkManagerto monitor network events and receive DHCP options. - Added
addNetworkEventListener()andremoveNetworkEventListener()to register and unregister network event listeners. - Added
DhcpOptionandSubOptionclasses to represent DHCP options.
Input and Keyboard
- Added
InputTriggerEventListenerinInputManagerto receive trigger scancode press and release events with timestamps. - Added
addInputTriggerEventListener()andremoveInputTriggerEventListener(). - Supported trigger scancodes include left, right, pistol, front, and push-to-talk.
- Added
VSCAN_DICTATEandVSCAN_PUSH_TO_TALKtoKeyboardManager.VScanCode. - Added
KEYBOARD_LOGO_KEYSto configure Datalogic logo key scan code assignments. - Added
ScanCodeclass inAdvancedKeyboardwith hardware scan code constants for key mapping. - Added
LogoKeysblob serializable class to manage logo key overlay configurations.
Joya Smart Pistol Trigger in Cradle
- Supported only on Joya Smart devices running Android 15 or later.
- Added
KEYBOARD_PISTOL_TRIGGER_IN_CRADLE_POLICYto select the action performed after a long pistol trigger press in the cradle. - Added
KeyboardPistolTriggerInCradlePolicyenum withDISABLED,POWER_MENU,REBOOT, andPOWER_OFFvalues. - Added
KEYBOARD_PISTOL_TRIGGER_IN_CRADLE_POLICY_PERIODto set the hold duration from 0 to 10000 milliseconds. The default is 2000 milliseconds.
Scanning
- Added
PHARMACODEto theSymbologyenum and thepharmacodemember toScannerProperties. - Added
SNAP_OCR_LAST_RESULT_TIMEOUTto set the result timeout for Snap OCR operations. - Added
SNAP_OCR_TEXT_BLOCK_FORMATto define how OCR text blocks are segmented. - Added
SnapOcrTextBlockFormatenum withPARAGRAPH,LINE, andWORDvalues.
Display and User Experience
- Added
SCREEN_ROTATION_LOCK_POLICYto lock the display orientation. - Added
ScreenRotationLockPolicyenum withSENSOR_DEPENDENT,PORTRAIT,LANDSCAPE,INVERTED_PORTRAIT, andINVERTED_LANDSCAPEvalues. - Added
NAVIGATION_BAR_POLICYto switch between 3-button and gesture navigation. - Added
NavigationBarPolicyenum withTHREE_BUTTONSandGESTUREvalues. - Added
USER_BRIGHTNESS_PERSISTENT_ENABLEDto keep the user brightness setting across reboots when auto brightness is enabled. - Added
POWER_INDICATOR_ENABLEDto enable or disable the power notification LED. - Added
setLedEnabled()inLedManagerto enable or disable a LED so that no other app can turn it on until it is re-enabled. - Added
getLedEnabled()inLedManagerto check whether a LED is currently enabled. - Added a dark theme option to Enterprise Battery Saver profiles with
isDarkThemeEnabled()and thewithDarkThemeEnabled()builder method inEnterpriseBatterySaverProfiles.Profile.
Security and System
- Added
KeychainManagerfor device certificate management. - Added
installCaCertificate()to install a DER-encoded CA certificate into the device's trusted certificate store. - Added
removeCaCertificate()to remove a CA certificate from the device's trusted certificate store. - Added
GOOGLE_PLAY_UPDATE_ENABLEDto enable or disable auto-update for Google Play apps. - Added
GOOGLE_PLAY_UPDATE_BLACKLISTto define a blacklist of Google Play packages to prevent from updating, managed throughStringArrayBlob. - Added
USB_DEX_MODE_ENABLEDto enable or disable DEX mode for USB connections.
You can access the documentation here.
