Why does Android only show the last Activity when using a for-loop?
<p>Perhaps I'm not used to the Android development, but when I look, I expect everything to be done in order. When one activity finishes, the next starts. However, it seems that my code doesn't work that way. Take the following code for example:</p>

<pre><code>for (int i = 0; i &lt; 3; i++){            
   Intent myIntent = new Intent(Game.this.getBaseContext(), NextScreen.class);
   myIntent.putExtra("something", i);
   myIntent.putExtra("Opp", oppList.get(i).toString());
   startActivityForResult(myIntent, 0);
}
</code></pre>

<p>It doesn't display activity one, wait for you to do what you do in that screen, then come back for the second activity. It immediately displays the third activity. If I click on the back button on my android emulator, it will show me activity two... and if I click back again, it will show me activity one... so it just kind of rapid-fires these activities onto the screen without waiting for you to do what you do in these activities. I'm sure I'm not the first person that's wanted to do something like this. Any idea what I'm doing wrong? How do you work around this situation?</p>
