Don't use Display.getOrientation(), it is the low-level screen
rotation constant.

On Sep 20, 12:54 pm, Huebi <[EMAIL PROTECTED]> wrote:
> There are several classes where int values for screen orientations are
> available (Configuration, ActivityInfo). Unfortunately, none matches
> the values returned from the Display.getOrientation() method and there
> is no documentation on the returned values. I can take the ints and
> compare to them but using some kind of static variable from the API
> would be more secure. Is there a place where the values returned by
> this method are defined?
--~--~---------~--~----~------------~-------~--~----~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to