Code example for SignalStrength

Methods: getCdmaDbmgetCdmaEciogetEvdoDbmgetEvdoEciogetEvdoSnrgetGsmBitErrorRategetGsmSignalStrengthisGsm

		public void onSignalStrengthsChanged(SignalStrength signalStrength) {
			boolean	isGsm = signalStrength.isGsm();
			// Get the CDMA RSSI value in dBm 
			int	iCdmaDbm = signalStrength.getCdmaDbm();
			// Get the CDMA Ec/Io value in dB*10 
			int	iCdmaEcio = signalStrength.getCdmaEcio();
			// Get the EVDO RSSI value in dBm 
			int	iEvdoDbm = signalStrength.getEvdoDbm();
			// Get the EVDO Ec/Io value in dB*10 
			int	iEvdoEcio = signalStrength.getEvdoEcio();
			// Get the signal to noise ratio. Valid values are 0-8. 8 is the highest. 
			int	iEvdoSnr = signalStrength.getEvdoSnr();
			// Get the GSM bit error rate (0-7, 99) as defined in TS 27.007 8.5 
			int	iGsmBitErrorRate = signalStrength.getGsmBitErrorRate();
			// Get the GSM Signal Strength, valid values are (0-31, 99) as defined in TS 27.007 8.5 
			int	iGsmSignalStrength = signalStrength.getGsmSignalStrength();
			String str = "GSM="+isGsm
						+",GSM Signal Strength="+iGsmSignalStrength
						+",GSM Bit Error Rate="+iGsmBitErrorRate
						+",CDMA RSSI="+iCdmaDbm+"dBm"
Connect your IDE to all the code out there  Get Codota for Java