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
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
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
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.
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.