onActivityResult doesn't work?

前端 未结 6 961
走了就别回头了
走了就别回头了 2020-12-18 19:54

I am facing with a problem related startActivityForResult()

To start SecondActivity from FirstActivity :

Intent intent = new Intent();
intent.setClas         


        
6条回答
  •  春和景丽
    2020-12-18 20:54

    I was also stuck on the same problem - but due to a different reason as matangs. Apparently startActivityForResult only works if you have android:launchMode set to standard for main activity (in manifest). Hope it helps someone.

提交回复
热议问题