質問

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