try with: int orientation = getResources().getConfiguration().orientation;
On Mar 24, 1:03 pm, 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. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---