Intent intent = new Intent(this,Name.class);
intent.putExtra("key", et.getText().toString());
startActivity(intent);
Intent intent = getIntent();
String str = intent.getStringExtra("key");
tv.setText(str);
From using above code I can get a string value at other activity, but I need editText object at another activity.
can anyone give Idea ?
Thanks
Why not send the ID and then use findViewByid() on the receiver Activity? Hope this helps:
On receiver Activity: