在要传递数据的Activity上往intent里面put参数:
intent.putExtra(KEY, "你好啊 这句话传给你!");
private String KEY="XX";
在另一个 Activity上也设置
private String KEY="XX";
String str=getIntent().getStringExtra(KEY); EditText et=(EditText) findViewById(R.id.et1); et.setText(str);