Click or drag to resize

PropertyID.DesktopModeAppExternalScreenOnInsert Field

This property allows to define an app to be launched on the external screen (secondary display) when the device is inserted in a Docking Station.

Namespace: Com.Datalogic.Device.Configuration
Assembly: datalogic-xamarin-sdk (in datalogic-xamarin-sdk.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
VB
public const Int32 DesktopModeAppExternalScreenOnInsert = "value"

Field Value

Type: Int32
Remarks
This property allows to define an app to be launched on the external screen (secondary display) when the device is inserted in a Docking Station.

The value of the property should be a string in the format `package_name/activity_name`, where `package_name` is the app to be launched and `activity_name` is the name of the specific app activity to be launched. For example if DESKTOP_MODE_APP_EXTERNAL_SCREEN_ON_INSERT="com.datalogic.scan/.MainActivity", the `MainActivity` of `Scan Demo` app will be launched upon insertion event.

The app will be displayed on the external screen only and only if DESKTOP_MODE_POLICY is set to DesktopModePolicy.DUAL_SCREEN. Otherwise, the external screen will show the app set by CRADLE_APP_ON_INSERT because the external display is mirroring the main display. Note: It behaves similarly to CRADLE_APP_ON_INSERT and CRADLE_APP_ON_EXTRACT which are not specific to `Desktop Mode' but are related only to insertion and extraction events.

The class of the property is TextProperty.

[Android Documentation]

See Also