getting IMSI from android phone?
<p>I am developing an app that requires to get the IMSI. I use:</p>

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

<p>It works for most phones, but a few handsets only return 6 digits instead of 15. Which is wrong. </p>

<p>Anyone knows an alternative way to retrieve the IMSI programatically? Other APIS? methods?</p>

<p>Regards</p>
