You'll need to check the API level at android.os.Build, and only set your activity to this value when running on API 9 or later.
On Tue, Sep 27, 2011 at 3:45 PM, Stefan Alder <twigbra...@gmail.com> wrote: > I trying to ensure that my app and all of its activities are locked to > landscape right (reverse landscape) (where the device button and mic > located to the left of the screen). I see you can set the > screnOrientation in the manifest to 'reverseLandscape', but this only > works for API level 9. > > What is the best way to achieve this down to API level 6 or 7 such > that it will work on all Android devices (portrait and landscape > default)? > > If you can point me to any example where this is done, I'd really > appreciate it. > Thanks > > -- > 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 > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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