在Android中,如果OS杀死我的应用程序,将getIntent()返回具有相同额外的意图是什么? [英] in Android if OS kills my application, will getIntent() return the Intent with the same extras?
问题描述
我的申请已恢复后,当然。
After my application has been restored, of course.
或者我必须存储在一切的onSaveInstanceState()?
or I have to store everything at onSaveInstanceState()?
推荐答案
这谈话似乎回答这个问题:<一href="http://groups.google.com/group/android-developers/browse_thread/thread/f47af26b696af2e2">http://groups.google.com/group/android-developers/browse_thread/thread/f47af26b696af2e2.之前它寻找开始后是,也不是和几个。
This conversation seems to answer it: http://groups.google.com/group/android-developers/browse_thread/thread/f47af26b696af2e2. Look for the post starting with "Yes and no" and the few before it.
答案是积极的:是,后一个活动重启关停的操作系统,getIntent()将返回一个意图与同为演员的原
然而,如果一些Android的专家可以证实,我会很高兴听到这个消息。 :)
Nevertheless, if some Android expert could confirm, I'd be glad to hear that. :)
这篇关于在Android中,如果OS杀死我的应用程序,将getIntent()返回具有相同额外的意图是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!