Fetch own mobile number in android
<p>Suppose my phone no is 9-112-345-678, I try given code</p>

<pre><code>TelephonyManager mTelephonyMgr = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);
String phoneNo = mTelephonyMgr.getLine1Number();
</code></pre>

<p>but its not giving any output when i install same application in samsung fit 2.2.1 O.S.</p>

<p>I also gave necessary permission</p>

<pre><code>uses-permission android:name="android.permission.READ_PHONE_STATE"
</code></pre>
