USB bulkTransfer between Android tablet and camera

I think this function is not passing the correct endpoint

int status = connection.bulkTransfer(endpoint, getEvent,
                                     getEvent.length, TIMEOUT);

which is coming from

UsbInterface intf = device.getInterface(0);
UsbEndpoint endpoint = intf.getEndpoint(0);

maybe the USB interface is not correct. Please check if index 0 parameter is correct.

Leave a Comment