title: how do you get the phone's MCC and MNC in Android?
body: <p>The only way I've found of retrieving MCC and MNC is by overriding an activity's onConfigurationChanged method, as such:</p>
  
  <pre><code>public void onConfigurationChanged(Configuration config)
  {
      super.onConfigurationChanged(config);
      DeviceData.MCC = "" + config.mcc;
      DeviceData.MNC = ""  +config.mnc;
  }
  </code></pre>
  
  <p>However,  I need this data as soon as the app starts and can't wait for the user to switch the phone's orientation or equivalent to trigger this method.  Is there a better way to access the current Configuration object?</p>