title: android - not getting the phone number
body: <p>I'm trying to get the phone number using below code,</p>
  
  <pre><code>TelephonyManager tm = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
  phoneImei = tm.getDeviceId();
  phoneNo = tm.getLine1Number();
  </code></pre>
  
  <p>but, it returns me null value. When I checked the setting, phone number was unknown. I'm using galaxy nexus. Any idea how i can solve this.?</p>