Hi everyone

I'm working on a project involving a USB device connected to an Android 4.0.3 
Tablet with host port. I did find a software library that does pretty much 
exactly what I need. It is written in Python though. 
Since porting the library to java would be a major hassle and I prefer Python 
anyways I took a look at SL4A, the scripting layer for Android. Turns out that 
running Python on Android is actually quite easy as long as you use pure python 
modules only. In my project this is the case. The library I want to use has 
dependencies to pyserial and pyusb which are both pure Python. 
The only problem I have is that pyusb won't detect the usb backend that is used 
in Android. I didn't find any developer documentation about the Android USB 
system but I noticed that instead of libusb there is a library called 
libusbhost. The header file looks different from libusb.h. 
Would it be at all possible to add the Android usb backend to pyusb? I'm a 
decent Python programmer but I've never done anything with it involving native 
libraries.

thanks

Kevin
-- 
Diese Nachricht wurde von meinem Thinkpad Tablet mit K-9 Mail gesendet.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
pyusb-users mailing list
pyusb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pyusb-users

Reply via email to