title: how to get my band frequency in android with java
body: <p>i'm working on a apk where i want to get the band frequency of my network, for example if my telephone is gsm i want to know if is on 850 band.</p>
  
  <p>I was reading in android develop but i cant find anything. Also, i was reading the android.telephony library, but i dont know if that library can help me.</p>
  
  <p>For now im only obtain cell id and lac.</p>
  
  <pre><code>      TelephonyManager telephonyManager = (TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
        GsmCellLocation cellLocation = (GsmCellLocation)telephonyManager.getCellLocation();
  
        int cid = cellLocation.getCid();
        int lac = cellLocation.getLac();
        textGsmCellLocation.setText(cellLocation.toString());
        textCID.setText("gsm cell id: " + String.valueOf(cid));
        textLAC.setText("gsm location area code: " + String.valueOf(lac));
  </code></pre>
  
  <p>Thanks for your help.</p>