title: Android: Change Screens
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2091465/how-do-i-pass-data-between-activities-in-android">How do I pass data between activities in Android?</a>  </p>
  </blockquote>
  
  
  
  <p>My App starts and loads the first screen, then the users changes to the next screen by clicking a button with:</p>
  
  <pre><code>    Intent intent = new Intent(DashboardActivity.this, LoginActivity.class);
              startActivity(intent);
  </code></pre>
  
  <p>and then from there, the user changes to the next screen, again with:</p>
  
  <pre><code>    Intent intent = new Intent(LoginActivity.this, NextActivity.class);
              startActivity(intent);
  </code></pre>
  
  <p>now there should be 3 screens on the stack and in this last screen, I want to go all the way back to the first screen, how do I do that with one click?
  I want to send putExtra("") data from that last screen to the first screen.</p>