Isn't that method API level 8? The US Streak is Android 1.6, the UK one is Android 2.1 AFAIK, so neither would even have that method. That said, I think it just returns getOrientation() anyway.
On the US Streak I have laying around, creating a new Android project and just dropping in some log calls, holding in landscape to match the home screen with the front face buttons on the right, results in this: I/TestLogRotation( 2169): getWindowManager().getDefaultDisplay().getOrientation() = Surface.ROTATION_270: (3) I/TestLogRotation( 2169): getRequestedOrientation() = ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED (-1) I/TestLogRotation( 2169): getResources().getConfiguration().orientation = ORIENTATION_LANDSCAPE (2) Holding in portrait with the front face buttons on the bottom results in this: I/TestLogRotation( 2169): getWindowManager().getDefaultDisplay().getOrientation() = Surface.ROTATION_180 (2) I/TestLogRotation( 2169): getRequestedOrientation() = ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED (-1) I/TestLogRotation( 2169): getResources().getConfiguration().orientation = ORIENTATION_PORTRAIT (1) On Sep 16, 8:43 am, Marcus <sucram.mar...@gmail.com> wrote: > Hello, > > I have update our game to be able to handle devices with rotated > screens (http://android-developers.blogspot.com/2010/09/one-screen- > turn-deserves-another.html#links). I used a Motorola Flipout as a > reference device and that one works great. The problem is that when > the update with that fix came out I started to get reports that our > game had stopped working for Dell Streak. > > Do anyone know if there are special problems with screen rotation > related to accelerometer output on Dell Streak? > > And do anyone know what Dell Streak returns on the > android.view.Display.getRotation() function call? > > Would appreciate if someone would help me with this. I don't have the > possibility to get hold of a Dell Streak. > > /Marcus -- 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