Re: [android-developers] Orientation checking

2012-09-20 Thread Justin Anderson
Maybe this will help:
http://android-developers.blogspot.com/2010/09/one-screen-turn-deserves-another.html
http://developer.android.com/reference/android/view/Display.html#getRotation%28%29

Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware


On Wed, Sep 19, 2012 at 4:17 AM, saca sacaj...@gmail.com wrote:

 hi,

 I am using android:screenOrientation=landscape to keep the screen in
 landscape.
 Although the user is in landscape mode, I also need to know user is
 holding the phone in landscape or portrait.
 How to program it?

 I had try to use getOrientation() , but the result is same in landscape
 or portrait.

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

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

[android-developers] Orientation checking

2012-09-19 Thread saca
hi,
 
I am using android:screenOrientation=landscape to keep the screen in 
landscape. 
Although the user is in landscape mode, I also need to know user is holding 
the phone in landscape or portrait. 
How to program it?
 
I had try to use getOrientation() , but the result is same in landscape 
or portrait. 

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