i got class Team and object name. I want to display the name in another activity in textView and i don't know how to do it. Can you help me? my code of class and object:
public class DruzynyStatActivity extends ActionBarActivity {
public class Team
{
    public String name;
}
...
public void cracovia(View view)
{
    Intent intent = new Intent(this, CracoviaActivity.class);
    startActivity(intent);
    Team cracovia= new Team();
    cracovia.name="Cracovia";
}