Skip to main content

Wedge

Use this settings to enable or disable the keyboard wedge and the intent wedge.

Keyboard Wedge

Intercepts data from an external input device (such as a barcode scanner, RFID reader, or magnetic stripe card reader) and translates it into a format that your computer treats as standard keyboard typing.

Enable keyboard wedge

Enables/disables the keyboard wedge mode.

Keyboard wedge only on focus

If selected, the scanner is enabled whenever a text area is in focus and can receive text.

It provides a safer way to input keystrokes into the foreground application, allowing to send captured data in the form of key events only to the current text area with active keyboard input.

If this setting is not enabled, keystrokes will be always dispatched to the foreground application.

Keyboard wedge input mode

Allows to select the scanned data input mode.

OptionDescription
Text InjectionThe scanned barcode is injected into the text area.
Key PressureThe scanned barcode is translated into keyboard strokes.
Commit TextThe printable characters are injected into the text area, emulating the pressure of keyboard keys for not printable keys.

Non-printable key event delay

Delay applied before and after every non printable character. This is valid only for the Commit text and the Text injection modes of the keyboard wedge.

IME action after sending data

Configures the action sent to the IME after the keyboard wedge has emitted its content.

OptionDescription
SkipDon't send any action.
IME_ACTION_UNSPECIFIEDLeaves the action completely unconfigured. The system or the keyboard application determines the default action based on the input type context.
IME_ACTION_NONEExplicitly states that no action is associated with the key. The keyboard decides its default behavior (usually inserting a new line).
IME_ACTION_GOTakes the user to the target destination of the text they typed (e.g., loading a typed URL in a browser).
IME_ACTION_SEARCHTriggers a search operation based on the text the user has entered.
IME_ACTION_SENDDelivers the entered text to its target, such as sending a message or submitting a specific piece of data.
IME_ACTION_NEXTMoves the focus to the next focusable input field in the form.
IME_ACTION_DONESignals that the user is finished entering input. It typically closes the soft keyboard.
IME_ACTION_PREVIOUSMoves the focus back to the previously focusable input field in the form.

Intent Wedge

Enables the broadcast of specific intents to the listening applications. The broadcasted intent can have its custom Action, Category and extra content fields. The scanner is enabled whenever the intent option is flagged.

Enable intent wedge

Enables the captured data to be sent to an application in the form of an implicit intent.

Intent delivery mode

The delivery mode for intent wedge. Valid values are displayed in a single select list.

Intent action

The general action to be performed. The default string value is com.datalogic.decodewedge.decode_action.

Intent category

The intent category gives additional information about the action to execute. The default string value is com.datalogic.decodewedge.decode_category.

Intent extra barcode string

The key that corresponds to the intent extra data. The default string value is com.datalogic.decode.intentwedge.barcode_string.

Intent extra barcode type

Specifies an explicit MIME data type. Typically, the type is inferred from the data. By setting the type, you force a specific type and disable evaluation of the data. The default string value is com.datalogic.decode.intentwedge.barcode_type.

Intent extra barcode data

The extra data. The default string value is com.datalogic.decode.intentwedge.barcode_data.

Intent extra barcode user ID

The intent extra key that corresponds to the user ID. The default string value is com.datalogic.decode.intentwedge.barcode_user_id.

Intent extra barcode aim ID

The intent extra key that corresponds to the AIM ID. The default string value is com.datalogic.decode.intentwedge.barcode_aim_id.

Intent extra barcode crop

The intent extra key that corresponds to the cropped image. The default string value is com.datalogic.decode.intentwedge.barcode_crop.

Exclude empty values

Exclude empty extra values from the generated intent.

Web wedge

If enabled, it automatically redirects scanned data (such as a QR code or barcode) into a web browser, instantly navigating to the embedded web link or filling out a web-based form.

Enable web wedge

Enables direct data input into internet browsing applications, in the form of a valid URL.

Camera Wedge

If enabled, it replaces the rear camera with a virtual camera showing the barcodes read by the scanner. You can customize the barcode type, persistence, orientation, size, color and position.

Enable camera wedge

Substitute the rear camera with a virtual camera showing the barcodes decoded from the scanner. To enable the Camera Wedge, set the Input type to Scan engine (see Input Selection).

Barcode Type

The delivery mode for intent wedge. Valid values are displayed in a single select list. The available options are:

OptionDescription
NativeThe generated barcode preserves the native barcode type and content.
QR CodeThe generated barcode is a QR Code, only the content is preserved.
Data MatrixThe generated barcode is a Data Matrix, only the content is preserved.

Max Barcode Persistence

Barcode persistence time in the video flow after it was decoded and presented in the video.

Min Barcode Persistence

Barcode granted persistence time before showing a different decoded barcode. It could be useful if two different barcodes are rapidly decoded. In the video flow, they will be presented with a time distance defined by this parameter.

Barcode Orientation

Sets the orientation of the barcode within camera frames. The available options are:

OptionDescription
AutoBarcode orientation inherited by the device orientation.
PortraitBarcode portrait orientation in the video frame.
LandscapeBarcode landscape orientation in the video frame.

Barcode Size

Sets the barcode size in pixel.

Barcode Position

Sets the coordinate of the barcode within camera frames. The available options are:

OptionDescription
CenteredBarcode centered in the video flow.
CustomBarcode position defined by below parameters.

Barcode Custom X Position

Sets the barcode X position (top right corner). Barcode Position must be set to Custom.

Barcode Custom Y Position

Sets the barcode Y position (top right corner). Barcode Position must be set to Custom.

Background color

Sets the barcode background color.

Barcode color

Sets the barcode foreground color.

Enable always on

Setup the scanner in always-on scan mode when the camera wedge is enabled and the rear camera is in use.

Manage preview image

Enable this setting to display a live camera preview even when no barcode is detected.

In addition to the Datalogic Settings, these properties can be edited through SDK, OEMConfig, and Scan2Deploy Studio in Device and Settings page.