I'm starting with Android Studio and making a simple App that take an input from am EditText and check if have four characters long(the easy part) and if the whole string is an hexadecimal value like "FFA1".
I think in to add the "0x" to the String but that use more resources a far a read in another post/questions. I also read that exist a library called TextUtils with a function isDigitsOnly() but I'm not sure if they call digits to 0-9 values or 0-9 and A-F too.
In VB.NET I use to add &H to the String and use isNumeric() function to detect Hexa values, but in android I'm lost.
Can somebody enlighten me? Thanks.