3

In the example link given in github am unable to detect my usb device using this example and moreover can anyone tell me how can I specify the device product id and vendor id to device_filter.xml. The main idea of mine to test this example is to connect a android device to a thermal printer POS using USB so first if this example detects my device I can further go ahead and use this library to have a handshake between my POS and android device.

Please help me if you have any other suggestion ideas.

Thanks

user3517929
  • 235
  • 1
  • 7

1 Answers1

1

Add your device "Vendor ID" in adb_usb.ini which is located in .android/adb_usb.ini.

P.S This doesn't guarantee you device is detected by android system

Murtaza Khursheed Hussain
  • 15,176
  • 7
  • 58
  • 83