从尚未连接的WiFi获取WiFi路由器类型

发布于 2025-02-13 00:55:37 字数 66 浏览 0 评论 0原文

有什么办法可以获得我附近有哪种WiFis? (无论是热点还是正常路由器的wifi),我都试图通过Android实现它。

Is there any way to get what kind of wifis are available near me? (whether it is a hotspot or normal router-oriented wifi) I'm trying to implement it via android.

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

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

发布评论

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

评论(1

懒猫 2025-02-20 00:55:38

答案是 no 。识别wifi种类的唯一方法是识别ssid。无法使用Java或Kotlin等编程语言访问网络的这种低级别详细信息。

尽管有一个NetworkInterface类,但是它没有读取与wifi相关的信息之类的方法,例如ssidmac地址。

The answer is NO. The only way to recognize the kind of WiFi is by identifying the SSID. Such low level details of the network cannot be accessed using programming languages such as Java or Kotlin.

Although there is a NetworkInterface class, but it has no methods to read WiFi related information like SSID or MAC address.

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