Passing data with intents

view story

http://stackoverflow.com – Why won't this work? Just trying to pass a editable string from one activity to another. But I cannot get it to work. Does the string passed through the intent have to be pre defined? If so, how can I pass a editable string? @Override public void onClick(View v) { // TODO Auto-generated method stub textOut.setText(textIn.getText()); Intent intent = new Intent(TutorialOne.this,MainActivity.class); intent.putExtra("text", textIn.getText()); startActivity(intent); } public class MainActivity extends Activity { TextView get (HowTos)