开发者

startActivityForResult problem

开发者 https://www.devze.com 2023-04-07 15:16 出处:网络
I have ActivityA calling Activ开发者_开发知识库ityB using startActivityForResult. If I open a browser from ActivityB and surfing a bit, my ActivityB gets killed and it doesnt know anymore that it shou

I have ActivityA calling Activ开发者_开发知识库ityB using startActivityForResult. If I open a browser from ActivityB and surfing a bit, my ActivityB gets killed and it doesnt know anymore that it should return anything to ActivityA.

//ActivityB.getCallingActivity() == null

As a result of this the onActivityResult in ActivityA wont be called.

Can this be fixed somehow?

0

精彩评论

暂无评论...
验证码 换一张
取 消