In the application for Android there is an activit with fields for data entry. One is EditText with inputType = textCapWords, and the other is EditText with inputType = number.

I asked myself a question - can an intruder in any way, for example, insert some other data into the field with numbers? Do I need to filter the data when it is received from these fields before writing to the database or is it extra work?

Data is not only protected in the application database, but sent to the server. On the server side, of course, additional filtering takes place.

    1 answer 1

    No, for example in EditText with android: inputType = "phone" you can insert only numbers. And if you copy the text and try to paste it, it will not work for you.