Zebra MC36 - Scanner.DataListener

L Lukasz Kosinski 2 years 11 months ago
4 2 0

Hi,
I'm working with Zebra MC36. I'm trying to set DataListener for Scanner object according to documentation "mc36-integrator-guide". But i have a problem, when i press scan button on device this Listener is not activated, i wondering if i should set some extra parameters for Scanning option. This Listener works fine for scanner activated from application (mScanner.read())

Please register or login to post a reply

2 Replies

V Vedsatx Saddvv

Hi,

The scanner dataListener option as described in Chapter 2 of the integration guide (https://www.zebra.com/content/dam/zebra_new_ia/en-us/manuals/mobile-com… ) is a separate entity to the Scan Config functionality as described in Chapter 1 of that same document.

The Scan Config setup would use Intents or Keystrokes to send data to your application (pages 1-14 & 1-15).  The dataListener would only work from within an application that previously enabled the scanner (from 2-4).

L Lukasz Kosinski

ok with Intent and BroadcastReceiver everything is working fine, thanks for help Darryn

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