Yes, they are stored in the back stack. You should not need to keep track of it.
To go back to the activity from where you called the current one, calling the finish() method should be enough. If want to do it from the calling activity, you can call the finishActivity() method.
Discuss This Question: