title: Get mobile Number on GSM Mobile using android code
body: <p>I am using following android code to get mobile number and it's working on android emulators only:</p>
  
  <pre><code>TelephonyManager tm =(TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
  String number = tm.getLine1Number();
  </code></pre>
  
  <p>But when I tested it in real device (<code>Samsung Galaxy Chat B5330</code>) it gives nothing (Empty String)</p>
  
  <p>Please help with some code snippet.</p>