DataWedge Configuration 4 - 21
and the Intent category would be:
android.intent.category.MAIN
.
The
Intent delivery
option allows the method by which the intent is delivered to be specified. The delivery
mechanisms are
Send via startActivity
,
Send via startService
or
Broadcast intent
.
The decode related data added to the Intent’s bundle can be retrieved using the
Intent.getStringtExtra()
and
Intent.getSerializableExtra()
calls, using the following String tags:
•
String LABEL_TYPE_TAG = “com.motorolasolutions.emdk.datawedge.label_type”;
String contains the label type of the bar code.
•
String DATA_STRING_TAG = “com.motorolasolutions.emdk.datawedge.data_string”;
String contains the output data as a String. In the case of concatenated bar codes, the decode data is
concatenated and sent out as a single string.
•
String DECODE_DATA_TAG = “com.motorolasolutions.emdk.datawedge.decode_data”;
Decode data is returned as a list of byte arrays. In most cases there will be one byte array per decode.
For barcode symbologies that support concatenation e.g. Codabar, Code128, MicroPDF, etc., the
decoded data is stored in multiple byte arrays (one byte array per bar code). Clients can get data in each
byte array by passing an index.
The MSR related data added to the Intent's bundle can be retrieved using the Intent.getStringtExtra() and
Intent.getSerializableExtra() calls, using the following String tags:
•
String MSR_DATA_TAG = “com.motorolasolutions.emdk.datawedge.msr_data”;
String contains the output data as a String. The data from the MSR tracks is concatenated and sent out
as a single string.
•
String MSR_TRACK1_TAG = “com.motorolasolutions.emdk.datawedge.msr_track1”;
MSR track 1 data is returned as a byte array.
•
String MSR_TRACK2_TAG = “com.motorolasolutions.emdk.datawedge.msr_track2”;
MSR track 2 data is returned as a byte array.
•
String MSR_TRACK3_TAG = “com.motorolasolutions.emdk.datawedge.msr_track3”;
MSR track 3 data is returned as a byte array.
•
String MSR_TRACK1_STATUS_TAG = “com.motorolasolutions.emdk.datawedge.msr_track1_status”;
MSR track 1 decode status as an Integer where 0 indicates a successful decode.
•
String MSR_TRACK2_STATUS_TAG = “com.motorolasolutions.emdk.datawedge.msr_track2_status”;
MSR track 2 decode status as an Integer where 0 indicates a successful decode.
•
String MSR_TRACK3_STATUS_TAG = “com.motorolasolutions.emdk.datawedge.msr_track3_status”;
MSR track 3 decode status as an Integer where 0 indicates a successful decode.
Most scanning applications might want the user to be able to decode data and for that decode data to be sent
to the *
current
* activity but not necessarily displayed. If this is the case, then the activity needs to be marked
as ‘singleTop’ in its AndroidManifest.xml file. If your activity is not defined as singleTop, then on every decode,
the system will create another copy of your Activity and send the decode data to this second copy.
Finally there will be a configuration option for each process plug-in so that the process plug-in can be
configured specifically for the intent output, which in this case is the basic data formatting process plug-in.
Summary of Contents for ET1
Page 1: ...ET1 ENTERPRISE TABLET INTEGRATOR GUIDE ...
Page 2: ......
Page 3: ...ET1 ENTERPRISE TABLET INTEGRATOR GUIDE 72E 148511 04 Rev A March 2013 ...
Page 6: ...iv ET1 Enterprise Tablet Integrator Guide ...
Page 14: ...xii ET1 Enterprise Tablet Integrator Guide ...
Page 28: ...1 10 ET1 Enterprise Tablet Integrator Guide ...
Page 43: ...Accessories 2 15 Figure 2 17 Secure Module 8 Replace the battery ...
Page 54: ...2 26 ET1 Enterprise Tablet Integrator Guide ...
Page 88: ...4 32 ET1 Enterprise Tablet Integrator Guide ...
Page 100: ...6 6 ET1 Enterprise Tablet Integrator Guide ...
Page 120: ...7 20 ET1 Enterprise Tablet Integrator Guide ...
Page 144: ...9 14 ET1 Enterprise Tablet Integrator Guide ...
Page 166: ...A 14 ET1 Enterprise Tablet Integrator Guide ...
Page 178: ...Glossary 8 ET1 Enterprise Tablet Integrator Guide ...
Page 182: ...Index 4 ET1 Enterprise Tablet Integrator Guide ...
Page 183: ......