obtain the phone number of the Android phone

sultan87

Active Member
Licensed User
Longtime User
hello,
how to obtain the phone number of the Android phone
I have an app that sends SMS to a server
I want to keep a shipping history
best regards
 

somed3v3loper

Well-Known Member
Licensed User
Longtime User
Use phone library

B4X:
    Dim p As PhoneId
    p.GetLine1Number
But do not know if it would work on all devices
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…