Richard that's great, thanks. I'm almost there. One further question... How can I check what the orientation of the screen is when the Activity loads?
On Oct 8, 6:27 pm, RichardC <richard.crit...@googlemail.com> wrote: > Have a look at Activity.onConfigurationChanged and > Activity.getChangingConfigurations > > You will need to make changes to your manifest to use > onConfigurationChanged > > -- > RichardC > > On Oct 8, 6:03 pm, Neilz <neilhorn...@googlemail.com> wrote: > > > Hi all. I notice when using the emulator that when the screen is > > flipped, I get a following logcat message: > > > INFO/WindowManager(589): onOrientationChanged, rotation changed to 1 > > > How can I catch this in the code? I want to know whenever the > > orientation changes. I assume I have to set a listener, but I can't > > find an example anywhere. > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---