On Fri, Nov 12, 2010 at 9:02 AM, DraganA <[email protected]> wrote:
> Sorry, yes, by the slide, I meant the hardware keyboard. Now, if this
> is indeed an orientation change event, in theory it shouldn't be
> breaking my app since I have fixed the orientation to portrait in my
> application xml.

Actually, you fixed the *display* to portrait. This means that if the
user changes the device orientation, your display does not change
orientation to match.

However, your activity will still be destroyed and recreated. Why this
is, I have no idea.

So, you still need to do something to deal with orientation changes
(onSaveInstanceState(), onRetainNonConfigurationInstance(), etc.).
Perhaps there is a bug somewhere in your activity in this area.

-- 
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

Reply via email to