[android-developers] Re: How to stop android activity destruction

2009-12-09 Thread Lance Nanek
http://developer.android.com/intl/zh-CN/guide/topics/manifest/activity-element.html#config On Dec 7, 9:42 pm, S. Ghelani sdghel...@gmail.com wrote: Hello Android Developers, I would like to know if there is a way to stop activity destruction upon physical keyboard slide in/out event. Your

[android-developers] Re: How to stop android activity destruction

2009-12-09 Thread UBZack
For each of my activities listed in the manifests of my apps, I always include this attribute: android:configChanges=orientation|keyboard|keyboardHidden This keeps the activity from being destroyed when those configuration changes take place. On Dec 7, 6:42 pm, S. Ghelani sdghel...@gmail.com

Re: [android-developers] Re: How to stop android activity destruction

2009-12-09 Thread TreKing
http://groups.google.com/group/android-developers/browse_thread/thread/13f1d4a12055659c/2eb8a3ed4a42fa0d You should read this thread. Specifically Dianne's warning about preventing the config-change behavior in your apps.