Hi All,

I am planning to get the mobile number. I tried by using the following code
snippet

TelephonyManager info =
(TelephonyManager)getApplicationContext().getSystemService(Context.TELEPHONY_SERVICE);
String phoneNumber = info.getLine1Number();

the above snippet always returns null value.

By using android method we can get the SIM serial number. So is there any
third party API to get the mobile number.

Thank you in Advance.


Regards
Upendra

-- 
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

Reply via email to