使用 C# 编写 WiFi Direct 应用程序
我正在使用 WiFi Direct 新 API 为 ICS 开发 Android 应用程序。
我正在寻找连接到我的电脑并发送一些数据。这是正确使用的 API 吗? 有人有使用它的快速示例吗?
顺便说一下- 吗有人知道它是否只适用于 Metro 风格应用程序吗?
I'm developing an Android App for ICS using WiFi Direct new API.
I'm looking to connect to my pc and send some data. Is this is the corect API to use?
Does anyone has a quick sample of using it?
By yhe way- Does any one understand if it's something only for Metro Style Apps, or not?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不确定您的电脑和手机是否可以建立连接。另一方面,它在操作系统 4.0.1 的设备上运行良好(尽管与更高版本存在一些冲突)
无论如何,请查看这些链接。
http://developer.android.com/reference/android /net/wifi/p2p/package-summary.html
http://developer.android.com/resources/samples/WiFiDirectDemo/index.html
http://developer.android.com/guide/topics/wireless/wifip2p.html
Not sure if you can establish the connection between your PC and phone. On the other hand, it works fine with devices that have OS 4.0.1 (Although there are some conflicts with higher versions)
Take a look at these links anyway.
http://developer.android.com/reference/android/net/wifi/p2p/package-summary.html
http://developer.android.com/resources/samples/WiFiDirectDemo/index.html
http://developer.android.com/guide/topics/wireless/wifip2p.html