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.
Get the current scanner IndexHi, 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. |
Subscribe to email updates
Monthly updates from our Zebra development team, straight to your inbox.
1 Replies
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