Code example for SignalStrength

Methods: getCdmaDbmgetGsmSignalStrength

0
	@TargetApi(7) 
	@Override 
      public void onSignalStrengthsChanged(SignalStrength signalStrength)
      { 
         super.onSignalStrengthsChanged(signalStrength);
         int asm = signalStrength.getGsmSignalStrength();
         servRSSI = asm;
         mCDMARssi = signalStrength.getCdmaDbm();
      } 
    } 
	 
	/** 
	 * @brief 手机电量侦听器 
	 */	 
    private BroadcastReceiver mBatteryInfoReceiver = new BroadcastReceiver() 
    { 
        @Override 
        public void onReceive(Context context, Intent intent)  
        { 
            String action = intent.getAction(); 
Connect your IDE to all the code out there  Get Codota for Java