EasyManua.ls Logo

Motorola MC40 - Capture Data and Taking a Photo in the same Application; Disable Datawedge on MC40 and Mass Deploy; Soft Scan Feature

Motorola MC40
203 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
Loading...
4.10.2CaptureDataandTakingaPhotointheSameApplication
4.10.2CaptureDataandTakingaPhotointheSame
Application
Tobeabletocapturebarcodedataandtakeaphotointhesameapplication:
CreateaDatawedgeprolepertainingtothepicturetakingActivityinyourapplicationthatdisablesscanningand
usestandardAndroidSDKAPIstocontroltheCamera.
ThedefaultDatawedgeproletakescareofthescanningintheapplication.Y oumightwanttocreateanother
DataWedgeprolethatcaterstoanyspecicscanningneeds,associatedtoyourApplication'sActivitypertaining
toscanning.
4.10.3DisableDataWedgeonMC40andMassDeploy
TodisableDataWedgeanddeployontomultipleMC40devices:
ProcedureSteps
1Touch.
2TouchDataWedge.
3Touch.
4TouchSettings.
5UnselecttheDataWedgeenabledcheckbox.
6ExporttheDataWedgeconguration.See4.8.2ExportingaCongurationFile,page4-37forinstructions.See
4.9CongurationandProleFileManagement,page4-39forinstructionsforusingtheautoimportfeature.
4.10.4SoftScanFeature
DataWedgeallowsanativeAndroidapplicationtoprogrammaticallystart,stoportogglethescantriggerstate.The
applicationcanissueanAndroidBroadcastIntent,tocontrolthescanner,withoutrequiringthescanbuttontobe
pressed.TheactiveDataWedgeproleisrequiredtocontrolalltheparametersduringascanoperation.
Thestructureofthebroadcastintentthatresolvestothesoftscanis:
action:“com.motorolasolutions.emdk.datawedge.api.ACTION_SOFTSCANTRIGGER”
extras:ThisisaStringname/valuepairthatcontainstriggerstatedetails.
name:“com.motorolasolutions.emdk.datawedge.api.EXTRA_PARAMETER”
value:“START_SCANNING”or“STOP_SCANNING”or“TOGGLE_SCANNING”
MN000112A01-September2013
4-41

Table of Contents

Other manuals for Motorola MC40

Related product manuals