title: Get string from another class and set it to TextView
body: <p>I have <code>LoginActivity</code> and I declared into this class string <code>String currentName</code>. I have a <code>WelcomeActivity</code> class and I would like to set this <code>currentName</code> in a TextView. How to do it? Now that I have the in <code>WelcomeActivity</code> class declare <code>LoginActivity loginActivity</code> and set it this way, but that doesn't work:</p>
  
  <p><code>TextView welcome;
  welcome = (TextView) findViewById (R.id.tvWelcome);
  welcome.setText (loginActivity.currentName);</code></p>
  
  <p>Thanks for help ;)</p>