android - 使用 USB 数据线连接两部 Android 手机

标签 android

我想用 USB 数据线连接两部手机,并在一部手机上使用 adb devicesadb shell 等 ADB 命令,就像在 PC 和 Android 手机之间一样。我尝试使用具有两个微型 USB 插件的 OTG 支持电缆,但没有用。尝试使用另一 strip 有两个微型 USB 插件的普通电缆(不是 OTG)也没有用。 adb devices 在电话 A 和电话 B 中总是失败并显示消息“根本没有连接任何设备”。

谁有这方面的经验?需要什么样的电缆?

最佳答案

有些手机之间是可以的。

  1. 但其中至少有一个必须支持 OTG。
  2. 并且您需要一个 OTG 连接器。(还有 USB 数据线)

查看以下链接以获得详细说明:

http://forum.xda-developers.com/showthread.php?t=2640456


我会引用详细的解释以防链接被破坏:

Yes if u need to transfer data between two phones like GBs of data n u u have atleast one phone that supports OTG and u been looking for pc to transfer data or been trying to use wifi share apps trust me this is a solution to npc-less transfers and EVEN U CAN BORTOW YOUR FRIENDS BATTERY CHARGE IF YOU ARE RUNNING LOW ON BATTERY!!!!!!

With just an OTG n a USB cable you CAN transfer data and battery charge between two phones!!

youl need:

A) 2 phones (atleast one with OTG support)

B)OTG connector

C)Usb cable.

D)file explorer like es file explorer

Here on il refer the phone that contains data and charge as "host" phone n to phone to be transferred as "second" phone.

If your second phone is a xperia device then go to settings ->xperia connectivity ->usb connectivity

Change the usb connectivity mode from "MTP" to "MSC"..

Steps:

1)Just connect OTG cable to host phone...

2)The second phone connect usb cable.. N the pc usb part.. Which u connect to pc...connect it to the OTG

REMEMBER 3)In the second phone select ur mass storage option!!

4) use file explorer (I used Es file explorer coz its the best I used)

BINGO.. On host phone u can see the memory card of second phone as "usbdisk"...plus.. The second phone will charge battery from first phone...

Worked on

my xperia Z1 as host and micromax a65 as second phone..

my xperia Z1 as host and micromax a116 as second phone..

my xperia Z1 as host and xperia M as second phone..

my xperia M as host and xperia z1 as second phone..

Well all permutations of these phones..

关于android - 使用 USB 数据线连接两部 Android 手机,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25759365/

相关文章:

android - 单击按钮关闭充气布局

android - 在 Android 浏览器中,链接并不总是执行 onClick 而是引起焦点

android - 将 Activity 中的 Arraylist 传递给 Fragment

安卓下拉列表

android - 向 parse.com 安装表中的 channel 添加值时出错?

android - 有没有办法找出启动 Activity 的 startActivity Intent 标志?

java - 在 logcat 中显示数组值

java - 扩展 fragment 中的 fragment 实例化异常

android - 尝试构建 Android 应用程序时 Cordova 失败并出现错误 "Command failed with exit code 2"Linux

java - Firebase Firestore 在运行时错误时崩溃