There are three simple ways to solve:
1) Add the attribute below in your EditText and avoid unwanted characters:
android:inputType="number"
2) Use the methods of the String class itself:
EditText editTextView = (EditText) findViewById(R.id.editTextView);
String myEditValue = editTextView.getText().toString();
//Removendo caracteres indesejados
myEditValue.replace("(", "");
myEditValue.replace("+", "");
int equação = Integer.parseInt(myEditValue);
editTextView.setText(equação + "CERTO!");
3) Search a little about Regex, which is a String used to validate other Strings, and if the user enters an unwanted character, display a message to it. There is the method of class String mEditValue.replaceAll(String regex, String substituta)
, which with Regex prevents you from using step 2 for all cases.
Good Luck.