使用 C# 编写 WiFi Direct 应用程序

发布于 2024-12-21 07:08:18 字数 426 浏览 1 评论 0原文

我正在使用 WiFi Direct 新 API 为 ICS 开发 Android 应用程序。

我正在寻找连接到我的电脑并发送一些数据。这是正确使用的 API 吗? 有人有使用它的快速示例吗?

http://msdn.microsoft.com /en-us/library/windows/apps/windows.networking.proximity.ipeerfinderstatics.allowwifidirect

顺便说一下- 吗有人知道它是否只适用于 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?

http://msdn.microsoft.com/en-us/library/windows/apps/windows.networking.proximity.ipeerfinderstatics.allowwifidirect

By yhe way- Does any one understand if it's something only for Metro Style Apps, or not?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

自在安然 2024-12-28 07:08:18

不确定您的电脑和手机是否可以建立连接。另一方面,它在操作系统 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文