Get the current scanner Index

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.

Anonymous (not verified)
Hi, yes you can do this with

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 

Vote: 
Vote up!
Vote down!

Points: 1

You voted ‘up’


Rajeev Ranganathan
I had tried GET_CONFIG (In

I had tried GET_CONFIG (In Param_list bundle),but it had no scanner index but Yes,got it through Enumerate scanner.Thanks a lot Darryn.Much needed help

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments