I would like to know how to use WifiManager to check if my device wifi adapter supports 5Ghz frequency or not. Small snippet for android code would be great.
Thanks
You can use is5GHzBandSupported() from Android API Level 21.
This way:
wifiManager = (WifiManager) getApplicationContext().getSystemService(Context.WIFI_SERVICE); wifiManager.is5GHzBandSupported()
1.4m articles
1.4m replys
5 comments
57.0k users