Delphi FMX Android - How use Datalogic devices only through intents

Hi @Vitali_Bzot ,

  1. if your purpose is to develop an application only based on intents, there is no-need to import the *.jar or other references to the Datalogic SDK. Each device’s FW version supports a specific version of Datalogic SDK, as listed in the release notes of each FW or in the Supported devices table availabe on the Datalogic SDK documentation home page.

  2. About the “per-app profiles” there is a news. Starting from the most recent FWs and SDKs the Datalogic devices also support “per application” configuration profiles. The most convenient tool for configuring them is Scan2Deploy Studio.
    Under Device and Scanner Settings section, after defining a basic terminal configuration, you can also add new application-policies to vary specific settings that will be automatically applyed only when a specific application is in use.
    See the Application Policies page on the Scan2Deploy Studio documentation for more information.
    _
    Application-policies can also be created by code using the Profile Manager classes in the Datalogic SDK. See ProfileManager in the SDK documentation.

  3. To enable or disable the use of the ScanEngine there are two way: disable all trigger buttons that activate the scanner, or disable all ‘event listeners’ that utilize the scan engine. In that way, even if the triggers were still active, in the absence of listeners the Scan Engine would be completely disabled and would not come into operation.
    In the case of your Intents-based application, the listener that keeps the scanner active is the IntentWedge listener. So it would be sufficient to disable/enable the Intent Wedge to disable/enable the Scan Engine (of course make sure that the Keyboard Wedge and any other possible listener is disabled as well).
    For more information read the article: How to enable/disable the Scan Engine through Android Studio SDK

  4. Through intent, however, you cannot get the information about the FW or SDK of the device. This is only possible via SDK, with the class com.datalogic.device.info.

Regards
Simone

L3 - Mobile Products Specialist SW Engineer