title: how to obtain mobile number of own device in android?
body: <p>I want to retreive mobile number of device programatically. My code is:-</p>
  
  <pre><code>TelephonyManager telephonyManager = (TelephonyManager)this.getSystemService(Context.TELEPHONY_SERVICE);
  String strMobileNumber = telephonyManager.getLine1Number();
  </code></pre>
  
  <p>and I have set <code>READ_PHONE_STATE</code> permission in AndroidManifest.xml file. This is working on emulator but on actual device with eclair version, it is returning empty string. Is there any other way to get mobile no?</p>