Can I use startActivityForResult multiple times??
I have 5 activites A,B,C,D,E
A->B->C--STARTACTIVITYFORRESULT->D---STARTACTIVITYFORRESULT--->D---SETRESULT-->D
--STARTACTIVITY-->E ---SETRESULT-->C
When i Call setresult from E it takes me back to D rather than C. What should i do to make it redirect to ActivityC
Think of
startActivityForResultas aStack.pushexample
At this point, in the stack: you have A–B–C–D
If D finishes, D is
poppedand you return to C.When C finishes, C is
poppedand you return to BFinally When B finishes, B is
poppedand you return to A