I have a doubt on the Activity instance...
Suppose I have a set of activities say A B C D E
A being the main(root) activity
Now the user goes in like this:
A>B>C and now the user presses the back button. So from C it goes to B. but in this way C's instance is lost in the os activity stack. How can I retain the state of C even though the user presses the back button? so that after pressing back button and going back to B when user again launches the C, it gives back the previous state.
What is the ideal modes to launch the activities? Shall I declare C as SingleTask or SingleInstance?