Am having an applications which contains activity A,B,C and activity A has been launched from the launcher and B from A and C from B. Now am having a button in C on clicking the button i should tell the position of the activity c in activity stack . Ex A-B->C means C is at the 3 position of the activity stack.. How could i find this ?
Thanks in advance.