我在我的应用程序上有一个指示器来显示networkingtypes(2G或3G或4G),但是在获得networkingtypes后,我怎么知道它应该在什么样的速度类别? 我知道如何检测networkingtypes: 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 CDMA: Either IS95A or IS95B […]