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