I've had no success discovering the technical terminology for what I am trying to describe, so here goes.
How can I, or why can't I open an intent as soon as I've landed on a new activity via an intent?
Example:
1) User is sent to a new activity after pressing a button (launches intent)
2) User arrives at new activity and now an event fires off automatically before the user has a chance to do anything else, and a new intent sends him to the next activity.
Also, in relation to fragments:
3) User is sent to a new fragment in the activity and now an event fires off automatically before the user has a chance to do anything else, and a new intent sends him to the next fragment.
Update: This doesn't seem to work for me when I put this in the onCreate method of one my fragments (1stFragment).
Intent intent = new Intent(this, MainActivity.class);
intent.putExtra("2ndFragment", true);
startActivity(intent);
It won't launch to the next fragment.