Android Wifi direct multiple connection ad-hoc

前端 未结 8 695
你的背包
你的背包 2020-12-05 20:52

I try to create an ad-hoc network between many Android devices, but I can\'t find documentation to do that.

I thought Wifi direct could work for what I want, but is

相关标签:
8条回答
  • 2020-12-05 21:00

    Ad hoc wifi is disabled in Android. You need to ask Google why they have chosen to do so. If you have access to a device that allow you to install custom Android images, you will be able to patch Android to support it. Or you can root your device and reenable ad hoc Wifi, there are plenty of solutions on the web on how to enable ad hoc on rooted Android devices. This is a software issue, the hardware on every Android device that I know of has support for ad hoc Wifi.

    0 讨论(0)
  • 2020-12-05 21:03

    Android does not have support for ad-hoc WiFi at this time -- sorry!

    Update (2019): Android has supported WiFi Direct for a while, and this answer has not been updated.

    Your scenario would work. A would be able to connect with C as long as B (the group owner) is within range of both A and C.

    See Android's developer documentation for more info:

    https://developer.android.com/guide/topics/connectivity/wifip2p

    0 讨论(0)
  • 2020-12-05 21:09

    The Serval Project, based in part on WiFi Tether, is the only place I've found this functionality. It's still alpha phase, but seems to be the forerunner in the field. The wiki is much more useful than the main project page linked above, with installation instructions and a bit of documentation.

    Serval may or may not be right for your needs, but I felt it should be pointed out that ad-hoc networking is not impossible on Android. It might be better to wait until Google gets around to implementing it as standard API, though (if you believe they ever will :) ).

    0 讨论(0)
  • 2020-12-05 21:10

    Here is the link to the Wifi Direct Demo http://developer.android.com/resources/samples/WiFiDirectDemo/index.html

    0 讨论(0)
  • 2020-12-05 21:14

    At this time only Galaxy S 2 support Wi-Fi Direct

    0 讨论(0)
  • 2020-12-05 21:15

    I have been working on establishing ad hoc communication over Android phones for a month. I am trying to create an app that could work without having 3G or access point. Main idea is to let the clients to be able transfer voice or data in a close range.

    There are some guys implemented a basic system regarding almost the same topic. It basically works with Wi-Fi access point. So you need an access point in order to establish the connection. Although this is not what I am looking for, it might be helpful for others. You might need to contact them for more details.

    https://sites.google.com/site/androidwalkietalkie/home

    0 讨论(0)
提交回复
热议问题