Data Capture Demo Sample
Data Capture SDK provides the ability to capture data via Android Intents.
If you have ever wondered how to make use of these in your Android application, we've put together a sample that hopefully shows you how.
The sample covers...
- Data Capture intent strings
- Handling intents from Data Capture
- receiving barcode/MSR data
- receiving barcode/MSR data
- Sending intents to Data Capture
- toggling of the soft scan trigger
- toggling of the soft scan trigger
- Defining intent filters
- Configuring DataWedge profiles to send intents to an application
To find out more about this take a look at the DataCapture Demo Sample documentation.
The sample code used for this article is attached below.
Note: The DataCapture Demo Sample documentation is best viewed in a recent version of a modern browser.
Roman Woloszczuk
4 Replies
Pietro,
Once you have the configuration file, all you need to do is to copy it to the /enterprise/device/settings/datawedge/autoimport folder on a device, which you should be able to do from your application. DataWedge will detect the file and automatically import it. There is no means of changing individual DataWedge settings (or exporting them) from within your application.
Roman
Hi Roman,
what it's the best way to automate the DataWedge setup?
Is it possible to do it using an MDM?
Is it possible to do it from an application?
thanks
Pietro
Hi Pietro,
DataWedge configuration is done through the DataWedge app. Depending on your MDM's remote control capability/features you may be able to automate this.
Once you have a configuration you would like to deploy, you can export it to the sdcard folder. You can then take that configuration and deploy it to another device by copying it to the /enterprise/device/settings/datawedge/autoimport folder.
Roman