我正常情况下的程序流程是
activity A (start"activity B"using startActivityForResult)
activity B (setResult and finish(), return to "activity A")
activity A (onActivityResult having result)
在异常情况下,活动B可以调用另一个活动,C。 流程就像这样
activity A (start"activity B"using startActivityForResult)
activity B (start"activity C")
activity C (finish(),return to activity B)
activity B (setResult and finish(), return to "activity A")
activity A (onActivityResult having **no result!**)
在这种情况下,如何将“活动B结果”发送到活动A?
答案 0 :(得分:1)
如果通过写(start"activity C")
来表示B不使用startActivityForResult()
来启动C,那么B只需要这样做,这样就可以等待C
返回,直到它将结果返回A
。