Android – startActivityForResult immediately triggering onActivityResult

You can’t use startActivityForResult() if your activity is being launched as a singleInstance or singleTask. standard or singleTop launch mode will fix the problem.

Leave a Comment