是否可以连接两台Android手机通过无线网络连接,不使用蓝牙/ GSM / CDMA / IR?此外,没有任何笔记本电脑或Wi-Fi接入点或Wi-Fi路由器。
Is it possible to connect two android phones by wi-fi, without using a bluetooth/GSM/CDMA/IR? Also, there is no any laptop or wi-fi access points or wi-fi routers.
我认为,这是可能创造的这两款手机的一些SSID,做IP地址的静态配置。将Android连接到其它的Android无线网络?
I think, that it is possible to create some SSID on both phones, do a static configure of IP addresses. Will android connect to another's android wi-fi?
如果他们将被连接,我怎么能发送一个文件从一部手机到第二?是否有一个FTP客户端和服务器?或者我可以ssh到其他手机?或者telnel / netcat的?也许HTTP?
If they will be connected, how can I send a file from one phone to second? Is there a ftp-client and server? or Can I ssh to other phone? Or telnel/netcat? Maybe http ?
推荐答案
这就是所谓的 ad hoc网络并已之前问:
This is called ad hoc network and has been asked before:
能机器人做对等的对等自组织网络?
Android无线直接多个连接点对点
Android特设/接入点连接功能
更新:
简短的回答:特设尚不支持在Android所以这是行不通的。
Short answer: ad hoc is not yet supported on Android so this would not work.
您可以使用蓝牙连接两个Android手机在P2P的方式。
You can use Bluetooth to connect two Android phones in a p2p fashion.
更新2:
根据API 14日在Android的支持通过WiFi直接设备到设备连接4.0 ICS封装android.net.wifi.p2p.您可以通过FEATURE_WIFI_DIRECT.
Direct device-to-device connection over Wifi is supported under API 14 in Android 4.0 ICS in package android.net.wifi.p2p. You can test devices capability via FEATURE_WIFI_DIRECT.
相关推荐
最新文章