question

syedrehan avatar image
syedrehan asked

How to get scanner details programmatically connected via USB?

The requirement is to get scanner details programmatically that is connected via USB.

example: product_id, vendor_id, scanner_modelName, etc

Tried Android USB Intent filters, but they are not getting triggered even after attaching and detaching the scanner.

USB_DEVICE_ATTACHED, USB_DEVICE_DETACHED, USB_ACCESSORY_ATTACHED, and USB_ACCESSORY_DETACHED
barcode scanner
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community