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
Post a Comment