1. The browser cannot interact with local hardware 2. Develop an interactive interface for this scanner, and then send the obtained data to a background service, which then pushes it to your web display 3. Since you do it for you The web application adds a local resource interaction, then you can encapsulate your web into your native application, such as electron
I don’t know much about scanning and grabbing. I have used an ID card reader before. It directly inputs the read data in the current focus and then presses Enter, so the events of the control can be captured for processing
Yes, I have used the freshman admission system (B/S system) of our Academic Affairs Network before. When new students enroll, they use a scanner to scan the barcode on the notification letter to obtain student number and other information, and then trigger inquiries, verification and other operations.
@chinasky is right, it is an ordinary input device. Input the read information to the current focus of the page. After the input is completed, press Enter to trigger the interaction. It can be implemented directly using the B/S architecture, and there is no need for any API provided by the browser.
It’s ok. I’ve seen a drug entry system. Just scan the code with the scanner and automatically enter the basic information. But this kind of C/S is more common
1. The browser cannot interact with local hardware
2. Develop an interactive interface for this scanner, and then send the obtained data to a background service, which then pushes it to your web display
3. Since you do it for you The web application adds a local resource interaction, then you can encapsulate your web into your native application, such as electron
I don’t know much about scanning and grabbing. I have used an ID card reader before. It directly inputs the read data in the current focus and then presses Enter, so the events of the control can be captured for processing
Yes, the scanner is an input device. You can imagine it as a keyboard and take it back to the car
No, but you can provide an excuse for the scanner to call.
Yes, I have used the freshman admission system (B/S system) of our Academic Affairs Network before. When new students enroll, they use a scanner to scan the barcode on the notification letter to obtain student number and other information, and then trigger inquiries, verification and other operations.
@chinasky is right, it is an ordinary input device. Input the read information to the current focus of the page. After the input is completed, press Enter to trigger the interaction. It can be implemented directly using the B/S architecture, and there is no need for any API provided by the browser.
C/S is just like scanning the QR code on WeChat. I guess the browser doesn't provide this API.
Okay, I’ve done it before
It’s ok. I’ve seen a drug entry system. Just scan the code with the scanner and automatically enter the basic information. But this kind of C/S is more common