I\'ve this error when I use my application :
05-01 14:18:41.000: E/AndroidRuntime(26607): FATAL EXCEPTION: main
05-01 14:18:41.000: E/AndroidRuntime(26607):
use only
TextView textview = (TextView)findViewById(R.id.textView1);
String info = textview.getText().toString();
Use
TextView textview=((LinearLayout)view).findViewById(R.id.textView1);
String info = textView.getText().toString();
The xml layout file you have provided is not needed here. The list view row file is culprit .so use Id of Textview that is mentioned in row.xml .
getText() returns an EditableText, not a String. You have to use the toString() method to cast it into a String type:
String text = (TextView)findViewById(R.id.tv).getText().toString();