Get the current scanner Index

E Efkan YILMAZ 3 years 8 months ago
2 1 0

Hi,

I am currently working on a solution where i need to switch between scanners(2D & BT) during run time using Datawedge. It can be easily done if we use EMDK.But i am currently using Datawedge. How do i achieve this in Datawedge.

Please Register or Login to post a reply

1 Replies

E Efkan YILMAZ

Hi, yes you can do this with the DataWedge API using ENUMERATE_SCANNERS, please see the sample app for an example of this, samples-datawedge/MainActivity.java at master · Zebra/samples-datawedge · GitHub​.  The current scanner should also be part of the return value from GET_CONFIG: samples-datawedge/MainActivity.java at master · Zebra/samples-datawedge · GitHub 

CONTACT
Can’t find what you’re looking for?