usbdeviceconnection bulktransfer is negative 1 for second time data transfer

I am working on an application which needs data communication between Android phone and Camera. Android phone and camera connected via usb. I can read and write data first time with bulkTransfer(),but cannot read or write next time. I am getting negative 1 when I try to send data second time. I also tried with … Continue reading “usbdeviceconnection bulktransfer is negative 1 for second time data transfer”