RE: [android-developers] Re: How to detect screen rotation through 180 degrees from landscape to landscape orientation?

2012-05-21 Thread Maneerat ponsai
Date: Fri, 18 May 2012 16:23:02 -0700 Subject: [android-developers] Re: How to detect screen rotation through 180 degrees from landscape to landscape orientation? From: joachim.pfeif...@gmail.com To: android-developers@googlegroups.com On May 18, 4:20 pm, JP joachim.pfeif

[android-developers] Re: How to detect screen rotation through 180 degrees from landscape to landscape orientation?

2012-05-18 Thread arsalank2
I also need it for the same reasons and unable to find a workaround. I also notice similar behavior if switched between portrait and portrait inverted, the onConfigurationChanged() is not called. On Mar 29, 2:21 am, Mark Carter mjc1...@googlemail.com wrote: In my case, I need to for the camera

[android-developers] Re: How to detect screen rotation through 180 degrees from landscape to landscape orientation?

2012-05-18 Thread JP
Read the accelerometer values. They should be distinct enough to conclude the device orientation with confidence. On May 18, 5:58 am, arsalank2 arsala...@gmail.com wrote: I also need it for the same reasons and unable to find a workaround. I also notice similar behavior if switched between

[android-developers] Re: How to detect screen rotation through 180 degrees from landscape to landscape orientation?

2012-05-18 Thread JP
On May 18, 4:20 pm, JP joachim.pfeif...@gmail.com wrote: to conclude Infer, rather, being nitpicky... -- 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

[android-developers] Re: How to detect screen rotation through 180 degrees from landscape to landscape orientation?

2012-03-29 Thread Zsolt Vasvari
Just curious, why do you care which side of the screen is up? On Thursday, March 29, 2012 9:57:14 AM UTC+8, Mark Carter wrote: I've seen a few other questions similar to this but no answers. Rotating from portrait to landscape (either direction) and back again, we get the helpful call to

[android-developers] Re: How to detect screen rotation through 180 degrees from landscape to landscape orientation?

2012-03-29 Thread Mark Carter
In my case, I need to for the camera (otherwise the image will appear upside down). Some apps (like Paper Camera) get around this by not allowing the screen to rotate, and so the SurfaceView (used by the Camera) is more like a window (through the device). At risk of this post going off on a