tags:

views:

100

answers:

1

In my application 4 screens r there.when i switch to from one screen to anther screen 2 or 3 times at that time i want to go to 1st screen but previous screens r coming.how to close previous screen

+1  A: 

Are you mentioning activity as "screen"? If yes, you can call finish() to close the current activity

Vinay
He means to close the previous activity, but you're right that the answer is for him to call finish() right after he calls startActivity() so that the screen is closed before the new one even comes up.
Klondike