I am working in my application and fetching phone number using the method:
TelephonyManager phoneManager = (TelephonyManager)appContext.getSystemService(Context.TELEPHONY_SERVICE);
number = phoneManager.getLine1Number();
It is working well and good with all the SIM card, but getting problem in Airtel provider SIM card. I am getting blank while trying with this SIM card.
I don't know why Android API is dealing differently with different providers. Please suggest me.