xxxxxxxxxx
String a = tv.getText().toString();
int A = Integer.parseInt(a);
xxxxxxxxxx
//java,set textview text android studio,2021/09.23
TextView textView;
textView = findViewById(R.id.textView); //in your OnCreate() method
textView.setText("Hello World");