hears Active Member Licensed User Longtime User Dec 6, 2017 #1 if user input wrong format,here will have a massage box.tell he input wrong,how to know user input is in HEX format ?
if user input wrong format,here will have a massage box.tell he input wrong,how to know user input is in HEX format ?
Erel B4X founder Staff member Licensed User Longtime User Dec 6, 2017 #2 B4X: Try Dim bc As ByteConverter bc.HexToBytes(EditText1.Text) Catch Log("bad input") End Try Upvote 0
hears Active Member Licensed User Longtime User Dec 6, 2017 #3 Erel said: B4X: Try Dim bc As ByteConverter bc.HexToBytes(EditText1.Text) Catch Log("bad input") End Try Click to expand... thank you ,this code work good Upvote 0
Erel said: B4X: Try Dim bc As ByteConverter bc.HexToBytes(EditText1.Text) Catch Log("bad input") End Try Click to expand... thank you ,this code work good