Activity killed / onCreate called after taking picture via intent

前端 未结 4 1429
天涯浪人
天涯浪人 2020-11-30 02:06

I am trying to take a picture using an intent. My problem is that sometimes after taking a picture my activity, which calls startActivityForResult, seems to be destroyed so

4条回答
  •  时光说笑
    2020-11-30 02:16

    Disable "Don't keep activities" Developer setting. Otherwise it will destroy the activity you are leaving.

提交回复
热议问题