usb - android UsbDeviceConnection.requestWait() with timeout -


i trying interface usb tuner card android device (version 19).

currently using usbdeviceconnection.requestwait() read data followed usbrequest.queue of 16kb. things work fine.

in case of no input tuner usb wont receive data. in case requestwait() blocking forever. tried use usbrequest.close , usbrequest.cancel not useful.

i looked link "http://code.google.com/p/android/issues/detail?id=39522", mentions same problem, required write new jni interface.

my requirement should able come out of wait , not attempt write new jni inteface (as per above post). please suggest.


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -