I would like to pass data from an activity to an other using intent but it won't work. I think I did something wrong in my code.
if (condition) {
Hero = arrayP.get(0).name;
Intent i = new Intent(Activity2.this, Activity3.class);
i.putExtra("name");
startActivity(i);
}