84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
两个Android设备能不能通过USB传递数据?https://developer.android.com...这个地方看了但是没有Android之间传递数据的例子。求有相关经验的大神指点一二。
走同样的路,发现不同的人生
把一个手机作为服务器,另外一个手机做为客户端即可。慕课网有教程手机服务器微架构设计与实现
有,简单的说,两台设备中,至少有一个支持OTG.StackOverFlow上已经有比较好的回答,我引用它的,为了防止链接打不开,我把引用内容放在这里:
OTG
It is possible between some phones. But at least one of them must have OTG support. and you need an OTGconnector.(also a USB cable) Check the following link for detailedexplanation: http://forum.xda-developers.c... I'll be quoting the detailed explanation just in case the link getsbroken: Yes if u need to transfer data between two phones like GBs of data n uu have atleast one phone that supports OTG and u been looking for pcto transfer data or been trying to use wifi share apps trust me thisis a solution to npc-less transfers and EVEN U CAN BORTOW YOUR FRIENDSBATTERY CHARGE IF YOU ARE RUNNING LOW ON BATTERY!!!!!! With just an OTG n a USB cable you CAN transfer data and batterycharge 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 ->xperiaconnectivity ->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 uconnect 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 firstphone... 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..
It is possible between some phones.
But at least one of them must have OTG support. and you need an OTGconnector.(also a USB cable) Check the following link for detailedexplanation:
http://forum.xda-developers.c...
I'll be quoting the detailed explanation just in case the link getsbroken:
Yes if u need to transfer data between two phones like GBs of data n uu have atleast one phone that supports OTG and u been looking for pcto transfer data or been trying to use wifi share apps trust me thisis a solution to npc-less transfers and EVEN U CAN BORTOW YOUR FRIENDSBATTERY CHARGE IF YOU ARE RUNNING LOW ON BATTERY!!!!!!
With just an OTG n a USB cable you CAN transfer data and batterycharge 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 ->xperiaconnectivity ->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 uconnect 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 firstphone...
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..
参考资料:Connect two Android phones with USB cable
把一个手机作为服务器,另外一个手机做为客户端即可。
慕课网有教程
手机服务器微架构设计与实现
有,简单的说,两台设备中,至少有一个支持
OTG
.StackOverFlow上已经有比较好的回答,我引用它的,为了防止链接打不开,我把引用内容放在这里:
参考资料:Connect two Android phones with USB cable