getRequestedOrientation() method will work until you forced to change the
Orientation.

On Wed, Jun 3, 2009 at 2:21 PM, Sujay Krishna Suresh <
sujay.coold...@gmail.com> wrote:

> use an orientation sensor...
>
> On Wed, Jun 3, 2009 at 2:13 PM, aby <orz0...@gmail.com> wrote:
>
>>
>> Hi,
>> I need to set different content view after rotating device screen. Is
>> there any method to detect the direction of current screen is vertical
>> or horizontal?Thanks
>>
>>
>
>
> --
> Regards,
> Sujay
> Mark Twain <http://www.brainyquote.com/quotes/authors/m/mark_twain.html> - 
> "There is no sadder sight than a young pessimist."
> >
>


-- 
Guna

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to