Code example for SignalStrength

Methods: getGsmBitErrorRate, getGsmSignalStrength, isGsm

0
 
				@Override 
				public void onSignalStrengthsChanged( 
						SignalStrength signalStrength) {
					String s = "Signal Strength: ";
					if (signalStrength.isGsm()) {
						s += "GSM strength:"
								+ signalStrength.getGsmSignalStrength()
								+ " BER:" + signalStrength.getGsmBitErrorRate();
					} else { 
 
					} 
 
					adapter.add(s);
				} 
 
				@Override 
				public void onDataConnectionStateChanged(int state,
						int networkType) {
					String s = "";
					switch (state) {