[mobile:Android] mobileSetAllowedOrientations gives error

Roger Eller roger.e.eller at sealedair.com
Fri Jun 3 09:19:06 EDT 2011


On Fri, Jun 3, 2011 at 9:06 AM, Colin Holgate wrote:
> It looks different to the syntax Jacque gave you. She wrote:
>
> I had the same issue until I remembered to set the allowed orientations in preOpenStack:
> mobileSetAllowedOrientations "portrait,portrait upside down,landscape left,landscape right"
>
>
>
> On Jun 3, 2011, at 7:45 AM, Roger Eller wrote:
>
>> What is wrong with my syntax?  I have this in my openStack handler.
>>
>> put mobileSetAllowedOrientations("landscape right")
>> or
>> put mobileSetAllowedOrientations("portrait, portrait upside down, landscape
>> left, landscape right")
>

It errors either way for me, with or without ().  I even moved it into
preOpenStack instead of openStack.
Strangely, it still seems to enable the rotation of the screen while
complaining in the IDE.

~Roger




More information about the use-livecode mailing list