Change initial orientation setting

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Jellobus
Posts: 317
Joined: Tue Dec 10, 2013 2:53 pm

Change initial orientation setting

Post by Jellobus » Fri Jan 16, 2015 8:14 pm

Hi,

I want to make an app automatically change its orientation before launch. Most of android devices are portrait oriented but some tablet is landscape oriented that have a longer width than its height. For example, Samsung Galaxy tab 4 10.1".

In default, the app is set to portrait in the standalone application setting and does not rotate(always set to portrait). but can I make its orientation changed to landscape when the app is launching on the landscape oriented device?
Cheers,

Louis

Jellobus
Posts: 317
Joined: Tue Dec 10, 2013 2:53 pm

Re: Change initial orientation setting

Post by Jellobus » Sun Jan 18, 2015 10:43 pm

Ok, :roll:

I tried with mobileSetAllowedOrientations "landscape left" in preOpenStack
but orientation is always launched portrait and then changed to landscape after rotating device to landscape position.

so my conclusion is that creating multiple stacks for both tablets and mobile phones OR creating mobile phone only app.
is there anyone have different idea of this matter?

Cheers,

Louis

Post Reply