On Sat, Dec 18, 2010 at 9:14 AM, Eyvind Almqvist <[email protected]> wrote: > X10 Mini pro has a sliding QUERTY keyboard. I got a report from > SonyEricsson, which says that my app crashes when this keyboard is > slided. This only happens on X10 Mini pro. I don't understand why > this is happening, because the app is locked to portrait mode.
If all you did was set android:orientation="portrait", that still will destroy and recreate your activity, particularly on devices with side-slider keyboards. You need to handle that situation, thereby also handling other configuration changes (e.g., device put in a car dock, user changes language). Use adb logcat, DDMS, or the DDMS perspective in Eclipse to see where things are going wrong, by examining the stack trace of your crash in LogCat. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9 Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

