MC40IntegratorGuide
•StringDA TA_STRING_TAG=“com.motorolasolutions.emdk.datawedge.data_string”;
–StringcontainstheoutputdataasaString.Inthecaseofconcatenatedbarcodes,thedecodedatais
concatenatedandsentoutasasinglestring.
•StringDECODE_DA TA_TAG=“com.motorolasolutions.emdk.datawedge.decode_data”;
–Decodedataisreturnedasalistofbytearrays.Inmostcasestherewillbeonebytearrayperdecode.For
barcodesymbologiesthatsupportconcatenatione.g.Codabar,Code128,MicroPDF,etc.,thedecodeddata
isstoredinmultiplebytearrays(onebytearrayperbarcode).Clientscangetdataineachbytearrayby
passinganindex.
TheMSRrelateddataaddedtotheIntent'sbundlecanberetrievedusingtheIntent.getStringtExtra()and
Intent.getSerializableExtra()calls,usingthefollowingStringtags:
•StringMSR_DA TA_TAG=“com.motorolasolutions.emdk.datawedge.msr_data”;
–StringcontainstheoutputdataasaString.ThedatafromtheMSRtracksisconcatenatedandsentout
asasinglestring.
•StringMSR_TRACK1_TAG=“com.motorolasolutions.emdk.datawedge.msr_track1”;
–MSRtrack1dataisreturnedasabytearray.
•StringMSR_TRACK2_TAG=“com.motorolasolutions.emdk.datawedge.msr_track2”;
–MSRtrack2dataisreturnedasabytearray.
•StringMSR_TRACK3_TAG=“com.motorolasolutions.emdk.datawedge.msr_track3”;
–MSRtrack3dataisreturnedasabytearray.
•StringMSR_TRACK1_STA TUS_TAG=“com.motorolasolutions.emdk.datawedge.msr_track1_status”;
–MSRtrack1decodestatusasanIntegerwhere0indicatesasuccessfuldecode.
•StringMSR_TRACK2_STA TUS_TAG=“com.motorolasolutions.emdk.datawedge.msr_track2_status”;
–MSRtrack2decodestatusasanIntegerwhere0indicatesasuccessfuldecode.
•StringMSR_TRACK3_STA TUS_TAG=“com.motorolasolutions.emdk.datawedge.msr_track3_status”;
–MSRtrack3decodestatusasanIntegerwhere0indicatesasuccessfuldecode.
Mostscanningapplicationsmightwanttheusertobeabletodecodedataandforthatdecodedatatobesentto
the*current*activitybutnotnecessarilydisplayed.Ifthisisthecase,thentheactivityneedstobemarkedas
‘singleTop’initsAndroidManifest.xmlle.IfyouractivityisnotdenedassingleTop,thenoneverydecode,the
systemwillcreateanothercopyofyourActivityandsendthedecodedatatothissecondcopy.
Finallytherewillbeacongurationoptionforeachprocessplug-insothattheprocessplug-incanbecongured
specicallyfortheintentoutput,whichinthiscaseisthebasicdataformattingprocessplug-in.
4.6.5IPOutput
IPOutputallowsDataWedgetosendcaptureddatatoahostcomputerviaanetworkconnection.Captureddatacan
besentoveranIPnetworktoaspeciedIPaddressandportusingeitherTCPorUDPtransportprotocols.
•Enabled-Enablesordisablesthisplug-in.Acheckinthecheckboxindicatesthattheplug-inisenabled(default
-disabled).
•RemoteWedge-EnableordisabletheRemoteWedgeoption(default-enabled).RemoteWedgeisusedwith
theIPWedgeapplication.
4-20
MN000112A01-September2013