Effective allowed orientation?

Richard Gaskin ambassador at fourthworld.com
Wed Jun 8 13:20:33 EDT 2016


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





More information about the use-livecode mailing list