我正在尝试使用WIFI直连连接两个Android设备,我已经成功了。但是问题在于第二个设备必须在另一个设备启动连接后接受连接提示。这对我想要实现的目标是不可取的。我在这里看到一些帖子,说目前还不可能实现。但我发现了一个名为SUPERBEAM的应用程序,它使用WIFI直连但没有提示。在谷歌上搜索后,我找到了来自xda论坛的以下链接:
SuperBeam creates an access point using Android's WiFi direct API's.
This essentially works like hotspot mode in old devices, but it is
guaranteed to work on newer devices like Nexus 7. Moreover, this mode
allows older devices to connect and receive files without having to
support WiFi direct's peer-to-peer connections and, more importantly, it
gets rid of the annoying "accept connection" prompt.
但我没有找到如何实现这一点的信息。有人能帮帮我吗?这是链接http://forum.xda-developers.com/showthread.php?t=2177133