Thank you very much.
The docu of getCofiguredNetworks is probably incomplete. This is the docu:
getConfiguredNetworks
added in
API level 1
public
List<
WifiConfiguration> getConfiguredNetworks ()
Return a list of all the networks configured for the current foreground user.
Not all fields of WifiConfiguration are returned. Only the following fields are filled in:
- networkId
- SSID
- BSSID
- priority
- allowedProtocols
- allowedKeyManagement
- allowedAuthAlgorithms
- allowedPairwiseCiphers
- allowedGroupCiphers
Returns
List<
WifiConfiguration> a list of network configurations in the form of a list of
WifiConfiguration objects.
I use the field "status" which is not in the list above. But it seems to be filled!
As permission in the manifest is needed
AddPermission("android.permission.ACCESS_WIFI_STATE"), no runtime permission nessecary!
Lutz