Leandro
Leandro

Reputation:

How to emulate a windows mobile device that use Scanner (Symbol.Barcode)?

Is there any way to emulate a Barcode scaning? My application runs on a Motorola MC9090 Windows mobile device that have Scanner. I'm using Symbol.Barcode class to create my application in .net c#.

thank's in advance

Upvotes: 4

Views: 3509

Answers (4)

Ali Umair
Ali Umair

Reputation: 1424

I know i am pretty much late for this but this reply by @ctacke on another question might be helpful for someone. It gave me a direction.

Windows Mobile Application for barcode scanning with Emulator

Upvotes: 0

ctacke
ctacke

Reputation: 67168

Emulating the scanner is like emulating just about anything in programming and my guess is you're looking at the problem wrong. Whatever is consuming the "scanner" should be consuming an interface, not an implementation (see the "D" in SOLID). This would allow you to create a separate implementation that is an emulated version of the hardware.

Now in this case there probably aren't a lot of things you need in the interface - maybe some setup/initialization, enable/disable and an even or delegate for data reception.

Upvotes: 3

Thorsten Dittmar
Thorsten Dittmar

Reputation: 56697

I'm using the MC9090 a lot myself and have not yet found a way of emulating the scanner behaviour. The only way to debug things is directly debugging on a test scanner.

Upvotes: 0

Austin Salonen
Austin Salonen

Reputation: 50215

The default setup on these scanners is keyboard emulation so you should be able to just type your barcode for the same effect.

Upvotes: 0

Related Questions