Write this inside your click listener
Intent myIntent = new Intent(YourCurentActivity.this, SecondActivity.class);
myIntent.putExtra("key", temp);
startActivity(myIntent);
Do this in second activity-
Bundle extras = getIntent().getExtras();
if(extras!=null)
{
String temp = extras.getString("key");
textview.setText(temp);
}