I know there have a getLine1Number(),

 i have inserted the SIM card, but why it return null?.

2010/3/25 a a <[email protected]>:
> Dear android,
>
> How can i get the SIM card number?
>
> i use below:
>       TelephonyManager telMgr =
> (TelephonyManager)getSystemService(TELEPHONY_SERVICE);
>        String sim = telMgr.getSimSerialNumber();
> it return 89860109300212882323, this is a serial number for SIM card,
> but i wan't the mobile number
> (it is storaged in the SIM card, is it rigth???  how get it?
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe from this group, send email to 
android-developers+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to