Possible Duplicate:
Get Phone Number in Android SDK
I want to read my phone number I had tried this:
TelephonyManager manager =(TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE);
phoneNumber = manager.getLine1Number();
But it returns null. In my setting->about phone->phone number also it shows unknown.
Then how to read own phone number in android.
Any suggestion will be appreciated,Thanks in advance
You can check this tutorial for How to Get Own Mobile Number Programmatically
Please read all the information I have written below tutorial there