On Tue, Oct 19, 2010 at 1:54 AM, simmy <[email protected]> wrote:
> I have set my deveiec property to landscape in manifest file
> android:screenOrientation="landscape"
>
> No at runtime when I am trying to get the current orientaion of device
> using Configuration and ActivityInfo classes. Its always giving me
> landscape mode even my device is in portrait mode.

Because that is how you configured it. If you do not want it that way,
get rid of the android:screenOrientation attribute.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

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