Re: [Libusbx-devel] [libusbx] android support (#132)

2013-08-21 Thread Xiaofan Chen
On Tue, Aug 20, 2013 at 9:15 PM, Toby Gray wrote: > On 20/08/13 05:44, Anton Smirnov wrote: > While usb_device_set_open_close_func(..) is clearly suitable for the > librtlsdr-android project, I would feel that it isn't suitable as an API for > addition to libusb. I'm not a maintainer of libusb so

Re: [Libusbx-devel] [libusbx] android support (#132)

2013-08-20 Thread Toby Gray
On 20/08/13 05:44, Anton Smirnov wrote: 2013/8/19 Toby Gray mailto:toby.g...@realvnc.com>> On 18/08/13 13:01, Anton Smirnov wrote: Android can return file descriptor for native code: http://developer.android.com/reference/android/hardware/usb/UsbDeviceConnection.html#getFileDescri

Re: [Libusbx-devel] [libusbx] android support (#132)

2013-08-19 Thread Anton Smirnov
2013/8/19 Toby Gray > On 18/08/13 13:01, Anton Smirnov wrote: > > Android can return file descriptor for native code: > > http://developer.android.com/reference/android/hardware/usb/UsbDeviceConnection.html#getFileDescriptor() > Does libusbx support it? > > > Not currently. It would be quite a c

Re: [Libusbx-devel] [libusbx] android support (#132)

2013-08-19 Thread Toby Gray
On 18/08/13 13:01, Anton Smirnov wrote: Android can return file descriptor for native code: http://developer.android.com/reference/android/hardware/usb/UsbDeviceConnection.html#getFileDescriptor()