0

我正常情况下的程序流程是

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?

4

1 回答 1

1

如果通过写作(start"activity C")您的意思是 B 不startActivityForResult()用于启动 C,那么 B 只需这样做,这样它就可以等待C返回,直到将结果返回给A.

于 2013-03-14T14:43:16.197 回答