try {
String product = device.getProductString();
String serial = device.getSerialNumberString();
if (product == null) return "Unknown USB device";
if (serial != null) return product + " " + serial;
else return product;
}
catch (Exception ex) {
}
return "Unknown USB device";