Effective allowed orientation?
Colin Holgate
colinholgate at gmail.com
Wed Jun 8 13:30:58 EDT 2016
It may be debatable. If you have an app that does different things in portrait an landscape, it’s handy if LiveCode ignores the device settings. If you have a landscape-only app that swings around to the upside-down view, then that would be wrong.
> On Jun 8, 2016, at 1:20 PM, Richard Gaskin <ambassador at fourthworld.com> wrote:
>
> Colin Holgate wrote:
>
> >> On Jun 8, 2016, at 12:45 PM, Richard Gaskin wrote:
> >>
> >> Android lets us turn off auto-rotate, but it seems the
> >> mobileAllowedOrientations function only returns whatever value
> > I've set.
> >>
> >> How can I determine whether the user has turned off auto-rotate?
> >>
> >
> > Mostly guessing here, but turning off auto rotation shouldn’t disable
> > the accelerometer. You ought to be able to deduce if the device is
> > now portrait, and that you haven’t had an orientation message.
>
> That's exactly the problem: LiveCode changes orientation regardless of what the user's auto-rotate setting is.
>
> Bug?
>
> --
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> ____________________________________________________________________
> Ambassador at FourthWorld.com http://www.FourthWorld.com
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list