ZEBRA TC21 suspend scanner doesn’t work every time

Tags: 

Hello,

we are developing an application on the android platform and we have problems with the suspend of the scanner.
We followed the instructions from the following pages :

https://techdocs.zebra.com/datawedge/7-3/guide/api/scannerinputplugin/
https://developer.zebra.com/blog/quickly-suspend-scanning-your-app-dataw...

everything is fine except that in some cases the scanner is not suspended i.e. still reads the codes.

After suspend ( i.putExtra("com.symbol.datawedge.api.SCANNER_INPUT_PLUGIN", "SUSPEND_PLUGIN") )
result is SUCCESS, scanner is in IDLE mode, but in SOME cases scanner remains in WAITING, on next scan, status is changed to IDLE.
If we call suspend command again return code is SCANNER_ALREADY_SUSPENDED.

The same can be simulated in this app if you multiple times suspend and resume scanner :
https://developer.zebra.com/blog/quickly-suspend-scanning-your-app-dataw...

Device TC21
Build number : 10-16-10.00-QG-U00-STD-HEL-04

Tino Preglej
No answer, Darryn?

No answer, Darryn?

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Darryn Campbell
I'm sorry but I have not seen

I'm sorry but I have not seen that issue before, if you have a support contract then you may wish to contact our support organization at https://www.zebra.com/us/en/about-zebra/contact-zebra/contact-tech-suppo... for more dedicated support.  Thank you.

Vote: 
Vote up!
Vote down!

Points: -1

You voted ‘up’


Tino Preglej
I don't understand why a

I don't understand why a contract is needed to solve the problem or answer the question.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Darryn Campbell
You tagged me so I wanted to

You tagged me so I wanted to provide at least some kind of answer even though I do not know the answer to your specific problem - if nobody is able to assist on this community forum then you may need to contact dedicated support.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Tino Preglej
Hi, I tagged you because it

Hi, I tagged you because it is your article and code example.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments