if I have set text in textview in such way, which is not problem:
tv.setText(\"\" + ANS[i]);
this simply getting from this way.
split with the + sign like this way
String a = tv.getText().toString(); String aa[]; if(a.contains("+")) aa = a.split("+");
now convert the array
Integer.parseInt(aa[0]); // and so on