简体   繁体   English

Android获取保存的网络SSID

[英]Android get saved network SSID

I am trying to find a way by which I can get a list of the remembered networks' SSID on an Android device. 我正在尝试找到一种方法来获取在Android设备上记住的网络的SSID的列表。

I have seen a few threads asking similar questions. 我看到一些线程在问类似的问题。 However, the few questions that I have found are trying to get the known network passwords not the SSIDS , and the answer for the passwords is that 但是,我发现的几个问题试图获取已知的网络密码而不是SSIDS ,而密码的答案是

1) you can't get them without root and 1)如果没有root,您将无法获得它们,

2) they are stored in different locations depending on the device. 2)根据设备,它们存储在不同的位置。

Is there any method that will allow me to do this? 有什么方法可以让我做到这一点?

There is a way to get a list of remembered networks with WifiManager. 有一种方法可以使用WifiManager获取记住的网络列表。 getConfiguredNetworks() getConfiguredNetworks()

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM