Data Capture Demo Sample

Roman Woloszczuk -
1 MIN READ

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
  • Sending intents to Data Capture
    • 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.

profile

Roman Woloszczuk

Please register or login to post a reply

4 Replies

R Roman Woloszczuk

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

P Pietro Francesco Maggi

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

R Roman Woloszczuk

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

P Pietro Francesco Maggi

Thanks Roman,
is it possible to load this configuration file in DataWedge automatically from my application or I need to manually do this operation (supposing no MDM is available)?

~Pietro