get text from textview android code example Example: get text from textview android String a = tv.getText().toString(); int A = Integer.parseInt(a);