Zeev Goldstein Well-Known Member Licensed User Longtime User May 20, 2023 #1 Hi Is there a way to get the phone number ? I need the phone number from the device my app is running on. Need to be able to do it on latest sdk A sample will be highly appreciated Thanks
Hi Is there a way to get the phone number ? I need the phone number from the device my app is running on. Need to be able to do it on latest sdk A sample will be highly appreciated Thanks
Zeev Goldstein Well-Known Member Licensed User Longtime User May 21, 2023 #21 toby said: It works for me on my Google Pixel 4A, Android 13. It's time that you test it on other phones. Click to expand... tried on samsung M54 also latest it must work on all phones or it is not good for my needs as i cant have a solution that works only for certain phones Upvote 0
toby said: It works for me on my Google Pixel 4A, Android 13. It's time that you test it on other phones. Click to expand... tried on samsung M54 also latest it must work on all phones or it is not good for my needs as i cant have a solution that works only for certain phones
toby Well-Known Member Licensed User Longtime User May 21, 2023 #22 Zeev Goldstein said: got empty string for phone number Click to expand... Does your test phone have a working sim card that you can use to make and receive phone calls? Upvote 0
Zeev Goldstein said: got empty string for phone number Click to expand... Does your test phone have a working sim card that you can use to make and receive phone calls?
toby Well-Known Member Licensed User Longtime User May 21, 2023 #23 AnandGupta said: As Erel said, it is no longer possible to access the phone number SDK33 - how to get unique number of phone | B4X Programming Forum SDK33 - how to get unique number of phone Dear friends, please for advice, I think this question is not first here, but I can not find similar question, please for advice how to get unique number of smartphone if I am using sdk 33 with B4A? Best regards p4ppc www.b4x.com Click to expand... The unique number or serial number of phone is not the same as "phone number". You can no long access the device's non-resettable identifiers, which include both IMEI and serial number. The phone number is resettable and all you have to do is to replace the sim card. Upvote 0
AnandGupta said: As Erel said, it is no longer possible to access the phone number SDK33 - how to get unique number of phone | B4X Programming Forum SDK33 - how to get unique number of phone Dear friends, please for advice, I think this question is not first here, but I can not find similar question, please for advice how to get unique number of smartphone if I am using sdk 33 with B4A? Best regards p4ppc www.b4x.com Click to expand... The unique number or serial number of phone is not the same as "phone number". You can no long access the device's non-resettable identifiers, which include both IMEI and serial number. The phone number is resettable and all you have to do is to replace the sim card.
peacemaker Expert Licensed User Longtime User May 22, 2023 #24 Any Android version - it was and is impossible to get the phone number for sure on any model. And it's logical as it's the private personal data of an user, that should not be got\shared automatically. Last edited: May 22, 2023 Upvote 0
Any Android version - it was and is impossible to get the phone number for sure on any model. And it's logical as it's the private personal data of an user, that should not be got\shared automatically.
adriano.freitas Active Member May 29, 2023 #25 What about a login with Google account and get the phone number from this account? Is accepted for you? Upvote 0
What about a login with Google account and get the phone number from this account? Is accepted for you?
Zeev Goldstein Well-Known Member Licensed User Longtime User May 30, 2023 #26 adriano.freitas said: What about a login with Google account and get the phone number from this account? Is accepted for you? Click to expand... Interesting ... Can you elaborate please? Any sample of implementation ? Upvote 0
adriano.freitas said: What about a login with Google account and get the phone number from this account? Is accepted for you? Click to expand... Interesting ... Can you elaborate please? Any sample of implementation ?