Questions tagged «4g»

6
如何确定网络类型是2G,3G还是4G
我的应用程序上有一个指示器来显示网络类型(2G或3G或4G),但是获得网络类型后,我如何知道它应该属于哪个速度类别? 我知道如何检测网络类型: private TelephonyManager telephonyManager; telephonyManager = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); CurrentNetworkType = telephonyManager.getNetworkType(); 给定可能的返回值: // public static final int NETWORK_TYPE_1xRTT // Since: API Level 4 // Current network is 1xRTT // Constant Value: 7 (0x00000007) // // public static final int NETWORK_TYPE_CDMA // Since: API Level 4 // Current network is …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.