When you try to startActivityForResult for Activity that has launchMode="singleTask"; it will not return any values with onActivityResult,and when you set launchMode="standard"; everything works fine, but the system requirements says this Activity must be singleTask, is there anyway to solve this?
When you try to startActivityForResult for Activity that has launchMode=singleTask ; it will not
Share
The docs of the
startActivityForResultsay:It seems there is no way to get around this.
If you are the developer of called Activity, then you can have it send a broadcast when some result is available. The calling Activity can then list to this broadcasts.