Android Question how to control input text format?i need in put HEX code.

hears

Active Member
Licensed User
Longtime User
if user input wrong format,here will have a massage box.tell he input wrong,how to know user input is in HEX format ?
 

hears

Active Member
Licensed User
Longtime User
B4X:
Try
 Dim bc As ByteConverter
 bc.HexToBytes(EditText1.Text)
Catch
 Log("bad input")
End Try
thank you ,this code work good
 
Upvote 0
Top