I rooted my device and working in host mode. I can able to detect the usb device connected to my tab but Am having two questions.
1) i try to display my device name usi
getVendorId() should give you manufacturer's name. Other calls include getDeviceName(), getDeviceId(), getDeviceClass(), getDeviceSubclass(), getDeviceProtocol(), getProductId(). refer this link: Android USB Host
For Data Transfers, refer this link: BulkTransfer. Read from the file in a buffer and pass the buffer to bulkTransfer call along with specific output Endpoint of your device and data length.