How can you determine the current orientation? Most of my pages rotate just fine, but I have one page on which I actually need to do slightly different logic based on the orientation (specifically, I want to add additional menu options in landscape mode). When I use getRequestedOrientation(), I always get back a -1 (UNSPECIFIED). It appears as if this method only works if an orientation has been requested by the code using setRequestedOrientation. Is there a better way to determine the current orientation?
BTW, thanks hackbod for the gem about ctrl-F12. I never found that in the documentation and had been changing the android:screenOrientation var in my manifest file and restarting every time I wanted to test in the alternate orientation. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

