Yes, you are righe. My issue is fixed after I added the following line to Activity in AndroidManifest.xml:
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|fontScale" --- 10年6月3日,周四, Gibson <zclgib...@gmail.com> 写道: 发件人: Gibson <zclgib...@gmail.com> 主题: [android-developers] Re: How to know the reason that causes the activity destroyed 收件人: "Android Developers" <android-developers@googlegroups.com> 日期: 2010年6月3日,周四,下午1:41 I guess one of the reason maybe due to the screen orientation changed? On Jun 3, 6:53 am, Jiang <webs...@yahoo.cn> wrote: > One of my Activity is restarted automatically (that is onDestroyed() is > called, and then onCreate(xxx) is called as well). > > And I found following matters before Acviity is destroyed: > - onLowMemory() is not called > - onConfigurationChanged(xxx) is not called > - inOnDestroy(), method isFinishing() returns false > > How to know the reason auses the activity destroyed? > > Thanks. > -Jiang -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en