通过USB连接两款Android设备连接在一起 [英] Connecting two android devices together via USB

查看:410
本文介绍了通过USB连接两款Android设备连接在一起的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能通过USB连接在一起的两个Android设备之间的通信。这是假设它们都具有USB OTG,并有支持它的内核。

Is it possible to communicate between two android devices connected together via USB. This is assuming they are both devices with USB OTG and have kernels that support it.

我试图寻找这一点,但不能找到一个很好的起点。我认为一台设备需要充当主机和一台作为客户端,这正是我需要的(唯一真正需要单向通信实际上)。

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).

推荐答案

我尝试连接使用的是男A到男性为MicroB电缆再加上女性A-两部手机(一个运行ICS和其他JB)对男性为MicroB适配器,的手机之一检测到的另一个为USB设备。

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.

无论我居然会能够在它们之间进行通信某种程度上是另一回事。也许href="http://developer.android.com/guide/topics/connectivity/usb/host.html" rel="nofollow"> Android开发者文档关于这一问题的

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.

这篇关于通过USB连接两款Android设备连接在一起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆