- Dec 12, 2022
- 357
- 2
Hi,
I would like to get the mobile number of the device on which my app is installed.
Now a mobile number can be stored in a sim card or it may be stored inside the mobile device.
Need help on :
i) detecting the number of sim cards in that device
ii) get the mobile numbers on the sim cards
iii) if it is the case that the number is stored inside the mobile device, get the mobile number from that mobile device.
In this regard I tried the post at:
[H3]
I have a need to access the phone number of the Phone running my app. I have found so many, many references to Phone on the forum, but none that tell me what the phone number of the phone is Any ideas please
This displays a BLANK for the Phone Number.
Then I tried the post at :
[H3]
Hi, I would like to get the mobile number of the device on which my app is installed. Now a mobile number can be stored in a sim card or it may be stored inside the mobile device. Need help on : i) detecting the number of sim cards in that device ii) get the mobile numbers on the sim...
in which user Invocker responded
And made the foll. entry in the manifest :
AddPermission(android.permission.READ_PHONE_STATE)
However I am getting the error which is pasted in the code portion below...
Please note that I...
I would like to get the mobile number of the device on which my app is installed.
Now a mobile number can be stored in a sim card or it may be stored inside the mobile device.
Need help on :
i) detecting the number of sim cards in that device
ii) get the mobile numbers on the sim cards
iii) if it is the case that the number is stored inside the mobile device, get the mobile number from that mobile device.
In this regard I tried the post at:
[H3]
برای دیدن لینک ها باید ثبت نام کنید
[/H3]I have a need to access the phone number of the Phone running my app. I have found so many, many references to Phone on the forum, but none that tell me what the phone number of the phone is Any ideas please
برای دیدن تصاویر باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
This displays a BLANK for the Phone Number.
Then I tried the post at :
[H3]
برای دیدن لینک ها باید ثبت نام کنید
[/H3]Hi, I would like to get the mobile number of the device on which my app is installed. Now a mobile number can be stored in a sim card or it may be stored inside the mobile device. Need help on : i) detecting the number of sim cards in that device ii) get the mobile numbers on the sim...
برای دیدن تصاویر باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
in which user Invocker responded
And made the foll. entry in the manifest :
AddPermission(android.permission.READ_PHONE_STATE)
However I am getting the error which is pasted in the code portion below...
Please note that I...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید