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, 201
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
2 matches
Mail list logo