Android Question [solved]How to get vendor-id and product-id?

Theera

Expert
Licensed User
Longtime User
In Manifest file,I add createresorce() as belows ,I don't know to get vendor-id and product-id are? Please help me how to get them. How to convert 0x9540 to int?

CreateResource(xml, device_filter.xml,

<resources>

<!-- 0x0403 / 0x6001: FTDI FT232R UART -->
<usb-device vendor-id="1027" product-id="24577" />

<!-- 0x067b / 0x2303 Prolific PL2303 -->
<usb-device vendor-id="1659" product-id="8963"/>

<!--0x9540 / 0x58F EMV SmartCard -->
<usb-device vendor-id=? product-id=? />

<!-- Your device PID/VID -->
<usb-device vendor-id="YourVID" product-id="YourPID"/>

</resources>
)
 

Attachments

  • Screenshot_20250131_115049.png
    Screenshot_20250131_115049.png
    45.7 KB · Views: 41
Last edited:

Theera

Expert
Licensed User
Longtime User
Ok I find the tool
 
Upvote 0
Solution
Top