onActivityResult do not fire if launch mode of activity is singleInstance
问题 I have an Activity which is basically my main activity and its launch mode is single instance. But because of singleInstance, the onActivityResult() callback does not fire. And if I change the launch mode in my manifest file to any other mode it works fine. Can you explain why this callback is not working? 回答1: I believe that the problem is that singleInstance doesn't let the callee activity to exist in the same task as the caller, hence it can't return the value to the caller. Consider using