tv = (textview )findviewbyid(r.id.xxxxx)tv.gettext()
先定义 TextView tv;再决根据textView的idtv = (TextView)findViewById(R.id.×××××);获取:tv.getText();