Search code examples
androidstackstart-activity

startActivityForResult from A->B->(finish B)->C and send back result from C to A


Activity A is at the root of the stack, then I startActivityForResult B, then startActivityForResult C from B and finish B.. therefore the stack is now A-C.

However when I setResult in C and finish it, the Activity A doesn't receive this result.. Is this possible to do?


Solution

  • You can finish Activity B with a result saying "start Activity C", then start Activity C for result from Activity A...