How to exit Activity 1 on clicking exit in Activity 2 which is called from Activity 1

view story

http://stackoverflow.com – Hi guys I wanted to ask : I have a first activity that opens the second activity in the Activity menu. I press exit in Activity 2 and would like you to also close the Activity 1. How to do this? (HowTos)