Welcome to the Datalogic Android SDK documentation. This SDK offers a comprehensive set of APIs to help developers fully leverage Datalogic devices in enterprise environments. This guide will help you navigate key functionalities, providing links to specific packages and more detailed descriptions to facilitate your development process. Below is an organized overview of the SDK's key capabilities.
This is particularly useful in enterprise environments where large-scale device fleets need to be managed centrally.
In order to use these API do not forget to add the following "uses-library" tag to your application manifest.
<uses-library android:name="com.datalogic.device" android:required="true" />Remember to switch the selected Revision number in accordance with your device firmware and installed Android Datalogic SDK update.
The Configuration Manager is a crucial component designed to facilitate the management and customization of device settings on Datalogic devices. This manager provides developers with an interface to access and modify various configuration parameters, allowing for optimized device behavior tailored to specific application requirements. This gives full control over hardware and system settings for optimal performance in enterprise use cases, including scanner settings, advanced networking fine-tuning, power management options, and user interface preferences.
The configurable properties are defined in the PropertyID and cover a wide range of system features.
Package: com.datalogic.device.configuration
The Profile Manager is designed to facilitate the management and the configuration of Datalogic devices. In particular, a profile is a curated collection of configuration settings that define the operational parameters for a given context. Using the Profile Manager significantly streamlines app development by externalizing configuration settings to the system administrators. This flexibility allows applications to avoid the complexities of device configuration; instead, they can rely on predefined profiles to automatically find the appropriate runtime context, ensuring that the device operates optimally according to specific operational needs.
Additionally, this approach enables system administrators to define a set of profiles and load the appropriate one at runtime based on the app currently in the foreground (or any other desired condition), allowing the device to adapt its behavior to the user’s current operational context.
The App Manager and the Package Installer offer robust administrative control over enterprise applications on Datalogic devices. These functionalities allow system administrators to manage the application lifecycle seamlessly, without requiring user intervention.
Package: com.datalogic.device.app
The Barcode Manager provides a comprehensive framework for integrating barcode scanning capabilities into Android applications. This manager facilitates the control and configuration of various barcode scanning functionalities, making it easier for developers to implement efficient scanning solutions.
Scanning capability configuration can be configured with both Barcode Manager and Configuration Manager.
Package: com.datalogic.decode
The Keyboard Manager provides developers with a set of interfaces for configuring and managing input on Datalogic devices, such as the touchscreen, hardware triggers, and the keyboard. The ability to customize these inputs allows devices to be adapted to specific operational scenarios, particularly in enterprise environments.
The Battery Manager provides essential functionalities for managing and monitoring battery-related events on Datalogic devices.
Package: com.datalogic.device.battery
The Cradle Manager provides a comprehensive set of tools to manage and interact with Datalogic devices when docked in a Cradle.
These functionalities allow developers to create robust applications that effectively manage device interactions with the Cradle, ultimately improving operational efficiency and user satisfaction in enterprise settings.
Package: com.datalogic.device.cradle
The Datalogic SDK offers a set of extended Android Intents that enhance application functionality on Datalogic devices. These intents enable developers to leverage specific device capabilities, streamlining the integration of advanced features into their applications.
These extended intents provide developers with powerful tools to create more responsive and feature-rich applications tailored to the unique capabilities of Datalogic devices.
The System provides essential information about the device. Specifically, developers can obtain the Device ID, Name, Product and Serial numbers, which uniquely identify the device within a network or system. Additionally, it provides helpful information such as the Hardware revision, Firmware and SDK versions, providing developers and system administrators full control and management of a fleet of Datalogic devices.
Package: com.datalogic.device.info
com.datalogic.cradle | Provides basic classes to interact with the cradle. |
com.datalogic.decode | Provides basic classes to interact with the scanner. |
com.datalogic.decode.configuration | Contains high-level classes encapsulating the overall Datalogic device configuration model. |
com.datalogic.decode.utils | Provides utility classes related to decoding. |
com.datalogic.device | This package contains sub packages capable of configuring and controlling completely the Datalogic device. |
com.datalogic.device.app | |
com.datalogic.device.battery | This package contains the |
com.datalogic.device.configuration | This package contains model classes and interfaces to handle the different properties. |
com.datalogic.device.display | This package contains the |
com.datalogic.device.info | Provides classes to read and discover specific device capabilities and infos. |
com.datalogic.device.input | Through the included classes it's possible to control and configure several input methods. |
com.datalogic.device.location | Contains classes to manage the device localization capabilities. |
com.datalogic.device.nfc | Support for managing the NFC chip. |
com.datalogic.device.notification | Provides access to notification mechanisms. |
com.datalogic.device.power | Contains classes to manage device's power consumption. |
com.datalogic.device.wifi | Contains classes to manage Wi-Fi connectivity. |
com.datalogic.softspot | Provides basic classes and APIs to interact with SoftSpot technology. |