onActivityResult is not getting called after a child Activity call. I made sure of these:

  1. startActivityForResult is called from parent and NOT startActivity
  2. setResult is called from child along with finish().
  3. No singleInstance launchMode defined in Manifest.

What else could be going wrong?

有帮助吗?

解决方案

Wow, quickly went to Documentation and found it.

The requestCode got to be >= 0 for the onActivityResult to be called.

Thanks again.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top