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 <[email protected]> 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 [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