Android : USB Host Android

on Wednesday, December 10, 2014


How can I retrieve Input/Output stream of a connected USB device in android? I have following code



int FD = UsbDeviceConnection.getFileDescriptor();
FileDescriptor fdesc = new FileDescriptor(FD);
FileInputStream fin=new FileInputStream(fdesc);


but it did not work.


0 comments:

Post a Comment