EasyManuals Logo
Home>Zebra>Cell Phone>TC25

Zebra TC25 Integrator Guide

Zebra TC25
168 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #103 background imageLoading...
Page #103 background image
DataWedge
110
Sample
Scanner Input Plugin
The ScannerInputPlugin API command can be used to enable/disable the scanner plug-in being used by the
currently active Profile. Disabling the scanner plug-in effectively disables scanning in that Profile, regardless of
whether the Profile is associated or unassociated. Valid only when Barcode Input is enabled in the active Profile.
Function Prototype
Parameters
action: String "com.symbol.datawedge.api.ACTION_SCANNERINPUTPLUGIN"
extra_data: String "com.symbol.datawedge.api.EXTRA_PARAMETER"
<parameter>: The parameter as a string, using either of the following:
"ENABLE_PLUGIN" - enables the plug-in
"DISABLE_PLUGIN" - disables the plug-in
Return Values
None.
Error and debug messages will be logged to the Android logging system which then can be viewed and filtered by
the logcat command. You can use logcat from an ADB shell to view the log messages, e.g.
Error messages will be logged for invalid actions and parameters.
Intent sendIntent = new Intent();
sendIntent.setAction(“com.symbol.emdk.datawedge.api.ACTION_SOFTSCANTRIGGER”);
sendIntent.putExtra(“com.symbol.emdk.datawedge.api.EXTRA_PARAMETER”,
“TOGGLE_SCANNING”);
sendBroadcast(sendIntent);
NOTE Use of this API changes only the runtime status of the scanner; it does not make persistent changes to the
Profile.
Intent i = new Intent();
i.setAction(ACTION);
i.putExtra(EXTRA_DATA, "<parameter>");
$ adb logcat -s DWAPI

Table of Contents

Other manuals for Zebra TC25

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Zebra TC25 and is the answer not in the manual?

Zebra TC25 Specifications

General IconGeneral
BrandZebra
ModelTC25
CategoryCell Phone
LanguageEnglish

Related product manuals