views:

58

answers:

1

I need to keep track of currently existed Activities in Activity stack.

Can any one help me in that how to do it programmatically?

A: 

Pretty much what CommonsWare said. Pretty much any reason to do this is wrong. If you think you need to do it, just stop and ask yourself if it's really needed. Messing with the activity stack in any way will just annoy the user and cause problems for you and them.

matto1990