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.
> On Jun 8, 2016, at 12:45 PM, Richard Gaskin <[email protected]> > 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? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > [email protected] http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
