I am currently developing an application for a device which talks
USB.  I realize that the easiest way would be to open a port as a
"file", but unfortunately the only way to do this is by scanning the
USB bus for a specific VID and PID to grab a handle to a USB device.

I am wondering what would be the best way to incorporate JNI here.  As
libusb is written in C, I am curious as to whether or not I should
"port" the existing code directly to JNI, that is, function by
function.  libusb 0.1 uses a lot of structs, which I was going to
convert to Java code by using classes to replace these structs.

This may be a little vague, but it is quite early in the morning and
my thinking cap isn't on very tight yet. :P


Thanks guys,

sws-vinpa.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to