Ahaaaaa, that's very good to know, thanks Mark! :)

On Thu, Nov 27, 2008 at 9:42 PM, Mark Murphy <[EMAIL PROTECTED]> wrote:
>
>> On a side note, I read here[1] that I can set the orientation to
>> "sensor", which will report screen orientation changes as the device's
>> physical orientation changes. Does this really work on a real device
>> (I still don't have one) or that's reserved for a future release?
>
> Yes, it works.
>
> http://androidguys.com/?p=2914
>
>> I'm
>> asking because from what I read in some G1 reviews, the device's
>> screen orientation changes to landscape only when the user slides the
>> keyboard open.
>
> That's true, in that the default for screenOrientation goes by the
> keyboard. But, if you use "sensor" instead, it will rotate based on
> movement alone.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 1.4 Published!
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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