简体   繁体   English

通过USB将两个Android设备连接在一起

[英]Connecting two android devices together via USB

Is it possible to communicate between two android devices connected together via USB. 是否可以通过USB连接在一起的两个android设备之间进行通信。 This is assuming they are both devices with USB OTG and have kernels that support it. 假设它们都是具有USB OTG的设备,并且具有支持它的内核。

I've tried searching for this but cannot find a good starting point. 我已经尝试过搜索,但是找不到一个好的起点。 I'd assume that one of the devices needs to act as a host and one as a client which is exactly what I need (only really require one way communication actually). 我假设其中一台设备需要充当主机,而一台设备充当客户端,这正是我所需要的(实际上只需要一种通信方式)。

I tried connecting two phones (one running ICS and the other JB) using a male-A-to-male-microB cable coupled with a female-A-to-male-microB adapter, and one of the phones detected the other one as a USB device. 我尝试使用公对母microB电缆和母对母microB适配器耦合连接两部电话(一部运行ICS,另一部运行JB),其中一部电话检测到另一部为USB设备。

Whether I'd actually be able to communicate between them somehow is a different matter. 我是否真的能够以某种方式在他们之间进行交流是另一回事。 Perhaps the Android developers documentation on this subject could be of some help. 与此主题有关的Android开发人员文档可能会有所帮助。

您可以将mobodaemon用于Android。

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

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