This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed last year.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(1)
听起来您想要点对点临时网络,但 Android 目前不支持该网络。请参阅 Android 可以进行点对点临时网络吗? 和 http://code.google.com/p /android/issues/detail?id=82
如果两个设备都有 NFC 芯片并且距离非常近(几厘米),那么使用 NFC 进行发现可能是您的一个选择。
Sounds like you want peer-to-peer ad-hoc networking which is not currently supported in Android. See Can Android do peer-to-peer ad-hoc networking? and http://code.google.com/p/android/issues/detail?id=82
If both devices have NFC chips and are really close (few cm) then doing the discovery with NFC might be an option for you.