I am making an application, more to learn from mistakes than anything else, and I needed help to achieve this:
From the Main activty , I open activity2 , and from activity2 I open a activity3 , but I do not want the user to go back and enter activty2 , but jump to Main activity .