datawedge api

Using DataWedge with Multiple Android Activities

This article assumes familiarity with Zebra's DataWedge tool as well as the DataWedge profile mechanism. For an overview of DataWedge, please refer to the DataWedge Techdocs page

A very common use case for many Zebra Android developers is using the device scanner across multiple activities in their application, this could cover the following:

Quickly Suspend Scanning in Your App with DataWedge

Most applications will need to temporarily disable the barcode scanner during their lifecycle. There are two ways to achieve this with DataWedge, both using the ScannerInputPlugin API: Enable / Disable or Resume / Suspend:

Enable / Disable:

Enable / Disable can be called at any time

Kotlin and developing Kotlin applications for Zebra devices

It is not news for Android developers that following Google’s announcement of Kotlin support during Google I/O 2017, Google have embraced Kotlin as the preferred development language for Android, even to the extent that the “Build your first app” tutorial on the Android developer site will default to showing Kotlin code.

 

Moving from the EMDK Data Capture Profile to Datawedge

The EMDK Data Capture profiles enable a user to configure barcode scanning and card reading within their application.

Website.png


 

Data Capture profiles have been removed from the latest versions of EMDK, the links in this article have been updated to reflect versions of the EMDK which included this feature.