android - Position of the activity in the activity stack -


am having applications contains activity a,b,c , activity has been launched launcher , b , c b. having button in c on clicking button should tell position of activity c in activity stack . ex a-b->c means c @ 3 position of activity stack.. how find ?

thanks in advance.

there no other way know this, because of how tasks designed. see this , this solution keep track of activities storing them in array of activities. hope helps.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -