Is there a way such that the smart phone application will be able to fetch mobile number that is currently active in it. Is it something feasible?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use the
TelephonyManagerto do this:You’ll need to give your application permission to make this query by adding the following to your Manifest:
(You shouldn’t use
TelephonyManager.getDefault()to get theTelephonyManageras that is a private undocumented API call and may change in future.)