How to get Telephone Number In Android
<p>I want to get the telephone Number.
I used this sample code..</p>

<pre><code>TelephonyManager tm = (TelephonyManager)getSystemService(TELEPHONY_SERVICE);
String strphonenumber = tm.getLine1Number();
</code></pre>

<p>And I used the permission- READ_PHONE_STATE.</p>

<p>But its returning null.</p>
