Skip to main content

Wedge

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

Wedge

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.

Keyboard Wedge 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.

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.

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.