简体   繁体   English

Java应用程序可以在Android 2.2设备上使用USB Host吗?

[英]Can Java application use USB Host on Android 2.2 device?

I have Archos 101 Internet tablet which has USB host mode, but it's Android version is only 2.2.1 . 我有Archos 101互联网平板电脑,它有USB主机模式,但它的Android版本只有2.2.1。 As I read here http://developer.android.com/guide/topics/usb/index.html , Android has USB API from version 3.1 as well as in 2.3.4 . 正如我在这里阅读http://developer.android.com/guide/topics/usb/index.html,Android拥有3.1版本以及2.3.4版本的USB API。 Is is there any way Java application to communicate through USB on such device with 2.2 ? 是否有任何方式Java应用程序通过USB与2.2这样的设备进行通信?

This might get you started in the right direction: 这可能会让您开始朝着正确的方向前进:

using serial port RS-232 in android? 在android中使用串口RS-232?

It's likely you will need to get your hands on the kernel source which I believe Archos usually publishes shortly after a device hits the market. 您可能需要了解内核源代码,我相信Archos通常会在设备上市后不久发布。 Grab the current config.gz off your device and figure out what kernel modules you may need and recompile. 从您的设备上获取当前的config.gz,找出您可能需要和重新编译的内核模块。 Good luck! 祝好运!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM