title: How to get Network Strength in Android Application?
body: <p>I want to show a network strength of internet in mobile device.</p>
  
  <p>now I am able to check connection from wifi or not using code below, But further I need network Signal Strength. so please tell me what code I need to add?</p>
  
  <p>Thanks!</p>
  
  <pre><code>ConnectivityManager connectivityManager = (ConnectivityManager) context
                  .getSystemService(Context.CONNECTIVITY_SERVICE);
          NetworkInfo activeNetInfo = connectivityManager
                  .getActiveNetworkInfo();
          NetworkInfo mobNetInfo = connectivityManager
                  .getNetworkInfo(ConnectivityManager.TYPE_MOBILE);
  
  
  
          TextView netStatus = (TextView) findViewById(R.id.netStatus);
          if (activeNetInfo != null) {
              netStatus.setText(" Connection Status - Connected "+activeNetInfo.getTypeName());
          } else if (mobNetInfo != null) {
              netStatus.setText(" Connection Status - Connected "+mobNetInfo.getTypeName());
          } else {
              netStatus.setText(" Connection Status - Not Connected ");
          }
  </code></pre>