Is it possible to check if an Android device supports 3G, 4G or 5G programmatically? NOT to check what type of network is the device connected to but if the current device is able to use 5G network...
Asked
Active
Viewed 3,345 times
1
-
Does this answer your question? [How to check whether a particular device supports 4G networks in Android?](https://stackoverflow.com/questions/7887840/how-to-check-whether-a-particular-device-supports-4g-networks-in-android) also you didnt mention how you want to check it by code or by phone settings be more clear for us to help you. – dt170 May 06 '20 at 14:48
-
thanks, fixed, ofc programmatically. I've tried your answer suggestion but that is deprecated and doesn't work. – Andreisk May 06 '20 at 18:04
-
It might help guide potential answerers to know what about that suggestion doesn't work (I'm not familiar with the APIs in question, though, so I'm not much help here). – Ryan M May 06 '20 at 18:12
2 Answers
0
You can check if the device support 5G like mentioned here
Check if android adapter supports 5GHz frequency WIFI
I guess, the WifiManager is what you are looking for....
https://developer.android.com/reference/android/net/wifi/WifiManager.html#is5GHzBandSupported()

Diogo Ribeiro
- 39
- 5
0
A little bit late, but I think this link may answer this question.
It may not be as specific as initially asked but it more than halfway there.

Ivan Garza
- 553
- 2
- 14