Click or drag to resize

PropertyID.CradleAppOnInsert Field

This property allows to define an app to be launched on the main screen (device display) when the device is inserted into a cradle.

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 CradleAppOnInsert = "value"

Field Value

Type: Int32
Remarks
This property allows to define an app to be launched on the main screen (device display) when the device is inserted into a cradle.

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 CRADLE_APP_ON_INSERT="com.datalogic.scan/.MainActivity", the `MainActivity` of `Scan Demo` app will be launched upon insertion event.

The app will be displayed in the main screen (device display) Note: This property complements CRADLE_APP_ON_EXTRACT which launches an app upon extraction event. It behaves similarly to DESKTOP_MODE_APP_EXTERNAL_SCREEN_ON_INSERT which is specific to `Desktop Mode`.

The class of the property is TextProperty.

[Android Documentation]

See Also