Foolproof way to get Android User's Personal Phone Number?
<p>I currently use this:</p>

<pre><code>TelephonyManager telephonyManager = 
(TelephonyManager)context.getSystemService(Context.TELEPHONY_SERVICE);

String phoneNumber = telephonyManager.getLine1Number();
</code></pre>

<p>Which works like 85% of the time. But on some phones it returns nothing. I believe this is due to differences in Sim cards.</p>

<p>Is there somewhere else on the Android platform to gain this information reliably?</p>

<p>Thanks</p>
