Determining if orientation locked on Android?

Sannyasin Brahmanathaswami brahma at
Sat Mar 25 18:13:59 EDT 2017

I'm not sure about how to test for lock orientation, but there are a number of related but reports, most recently

Elanor has an interesting test stack there.

I suspect it is the same bug. in my case I want the "game" like screens/stacks to *always* go landscape, 

But we are in a modular environment, the main navigations screens are locked to portrait and rendered as such.

This is working on Android if you set the mobileSetAllowedOrientations to "portrait, portrait upsidedown" So you *could* take control yourself… 

But if you navigated from a portrait stack to a landscape stack using…

Setting the mobileSetAllowedOrientations to "landscape left,landscape right" 

The stack is rendered left to right very small, and only re-renders full screen when the user turns their phone.

Again, not exactly your issue/question, but smells like fish in the same barrel.


On 3/25/17, 9:19 AM, "use-livecode on behalf of Richard Gaskin via use-livecode" <use-livecode-bounces at on behalf of use-livecode at> wrote:

    On my Android phone I have orientation locked to Portrait, yet the LC 
    app I'm building ignores this and rotates the with the device.
    I see that I can handle orientations internally, but I don't see how I 
    can determine if the user has locked their device to one specific 
    Any clues?

More information about the use-livecode mailing list