WifiWizard2 icon indicating copy to clipboard operation
WifiWizard2 copied to clipboard

Android P/Q - Deprecated Fn's

Open tripflex opened this issue 6 years ago • 1 comments

Seems Google has decided to deprecate some fn's in Android 9:

Android 9 (P - API 28) - Deprecated

  • startScan - https://developer.android.com/reference/android/net/wifi/WifiManager#startScan() https://stackoverflow.com/questions/49178307/startscan-in-wifimanager-deprecated-in-android-p

So these still work for now, but will probably be removed in Android Q.


Android Q (API ) Deprecated

Well it seems that Google wants to just make my life a living hell --- seems they are making huge changes in regards to WiFi in Android API level Q -- which is probably a ways out, but good to start tracking this now:

https://developer.android.com/preview/features#q-connnectivity

  • addNetwork https://developer.android.com/reference/android/net/wifi/WifiManager.html#addNetwork(android.net.wifi.WifiConfiguration)
  • disableNetwork https://developer.android.com/reference/android/net/wifi/WifiManager.html#disableNetwork(int)
  • disconnect https://developer.android.com/reference/android/net/wifi/WifiManager.html#disconnect()
  • enableNetwork https://developer.android.com/reference/android/net/wifi/WifiManager.html#enableNetwork(int,%20boolean)
  • getConfiguredNetworks https://developer.android.com/reference/android/net/wifi/WifiManager.html#getConfiguredNetworks()
  • reassociate https://developer.android.com/reference/android/net/wifi/WifiManager.html#reassociate()
  • reconnect https://developer.android.com/reference/android/net/wifi/WifiManager.html#reconnect()
  • removeNetwork https://developer.android.com/reference/android/net/wifi/WifiManager.html#removeNetwork(int)
  • setWifiEnabled https://developer.android.com/reference/android/net/wifi/WifiManager.html#setWifiEnabled(boolean)
  • updateNetwork https://developer.android.com/reference/android/net/wifi/WifiManager.html#updateNetwork(android.net.wifi.WifiConfiguration)

tripflex avatar Apr 04 '19 22:04 tripflex

I think it happend or?

danielehrhardt avatar Jul 09 '20 17:07 danielehrhardt