Monday, December 6, 2010

[android-developers] Re: Android 2.3 not handling orientation change properly - screen is not redrawn

Here's a screenshot of the browser "stuck" in landscape although the
emulator is in portrait. Screenshot is from a Mac, same behavior on
Windows 7 x64 (doesn't seem to be a system specific issue) and
confirms this problem on at least 2 completely different machines.

https://docs.google.com/leaf?id=0B0GGcj6uh57VNDQ2OTA3ZGItNTJmYi00NWU5LWFlMzAtYWZhOTBhNzcxNzZk&authkey=CImk6qcM&hl=en

On Dec 6, 10:13 pm, Max Binshtok <max.binsh...@gmail.com> wrote:
> It is not my app apparently (thanks @ymst for the idea)
>
> I checked the browser app. Just opened the browser (the emulator has
> it preinstalled) and the browser app exhibits the same behavior - once
> turned to landscape, it doesn't rotate back to portrait when the
> emulator is switched to portrait.
>
> Someone from Google? Can we get an official response to that please?
>
> Thanks,
> Max.
>
> On Dec 6, 7:04 pm, Ali Chousein <ali.chous...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > Once I faced a similar issue with changing the orientation from
> > landscape to portrait. What I observed at that time was that, when the
> > orientation is changed from landscape to portrait the onDestroy-
> > onCreate pair can be called twice. This has all sorts of side effects
> > of course. Check in the debugger to see if you are also getting the
> > extra call to onDestroy-onCreate pair. If yes, then you'll have to add
> > some extra logic in your code to take care of this dubious extra call.
>
> > ----
> > Ali Chousein
> > Published apps:
> > - Geo-Filtered Assistant Pro
> > - Geo-Filtered Assistant Basic (free version)

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment