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?
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 singleTask instead:
singleTask
singleInstance
http://developer.android.com/guide/topics/manifest/activity-element.html