Hi,

As far as i know, Android FroYo doesn't support 180-degree rotation by
default.

It can go as far as 0, 90, 270. (portrait, landscape, reverse-landscape)
But no reverse portrait.

This looks to be a quirk in WindowManager (not sensors).
Sensors are able to detect all 4 orientations and report it to the
framework.
The framework chooses to ignore reverse-portrait and does NOT auto-rotate
180.

If you slowly rotate ur phone from 0-->90-->180-->270-->0,
you will notice that:

  *Device* *Screen Orientation
*  0 Portrait  90 Landscape  180 Landscape  270 Reverse-Landscape  0
Portrait
As you can see, screen turns to landscape once device is in 90-degree
position.
After that 180-deg is ignored & screen switches at 270-deg position.

Earlier, even the 270-deg (reverse-landscape) mode was not supported  &
the device would rotate in ONLY 0 or 90 modes.
http://groups.google.com/group/android-porting/browse_thread/thread/8f1f3cf8b01f68c5/3fba43c03095690e?#3fba43c03095690e

If you have any specific queries in you code,
kindly share it. I will be glad to help you out.


regards
CVS

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to