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):
getText() returns an EditableText, not a String. You have to use the toString() method to cast it into a String type:
getText()
EditableText
String
toString()
String text = (TextView)findViewById(R.id.tv).getText().toString();