That returns the orientation mode your activity has requested. The actual current orientation is in getResources().getDisplayMetrics().
On Tue, Mar 24, 2009 at 10:01 PM, for android <forandr...@gmail.com> wrote: > getRequestedOrientation() > > > On Wed, Mar 25, 2009 at 9:34 AM, Suman <ipeg.stud...@gmail.com> wrote: > >> >> Hi all............... >> >> >> Thanks for replies. Can any one tell me by which >> method i can check the screen orientation? I mean i want to check >> whether it is land-scap mode or portrait mode. Thanks in advance. >> >> >> Suman. >> >> >> > > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---