Android Question Phone TextBox

Cableguy

Expert
Licensed User
Longtime User
Hi guys

I want to have a Phone EditBox on one of my layouts with the particular propertie of being able to check if the Phone Number is in a correct format... Upon Saving this info, this Phone Number will be shown in a label... how can I check the number format in the TextBox and how can I execute a "call this number" when the user clicks the label??
 

DonManfred

Expert
Licensed User
Longtime User
B4X:
Dim p As PhoneCalls
StartActivity(p.Call("1234567890"))
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
B4X:
Dim p As PhoneCalls
StartActivity(p.Call("1234567890"))

Thanks Don, That makes it one less problem, any suggestion for the custom number format?
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
Thanks again Don... I'll look info it
 
Upvote 0
Top