Feature proposal: mobileActualAllowedOrientations?

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

Feature proposal: mobileActualAllowedOrientations?

Matthias Rebbe via use-livecode
I have the orientation on my phone locked to portrait. I'm sure I'm not
the only person in the world who locks their orientation.

LiveCode is the only app on my phone that doesn't respect a locked
orientation, freely jiggling around as I rotate my phone.

I can lock the orientation within my app, but I shouldn't have to.

And if I did, how could I know which orientation a user has locked to?

I can't find anything in the Dictionary that suggests how to resolve
this, so I'm thinking of either of two Bugzilla submissions:

a) mobileActuallAllowedOrientations (or some more graceful name),
    a proposed function which returns the actual orientations the device
    is currently set to allow.

b) Bug report that LC doesn't respect the device's orientation lock.

Which do you folks feel is the better option?

--
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  [hidden email]                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

RE: Feature proposal: mobileActualAllowedOrientations?

Matthias Rebbe via use-livecode
Richard,

LC apps in iOS do respect the lock. This an Android only problem.

Ralph DiMola
IT Director
Evergreen Information Services
[hidden email]

-----Original Message-----
From: use-livecode [mailto:[hidden email]] On Behalf
Of Richard Gaskin via use-livecode
Sent: Saturday, January 27, 2018 4:00 PM
To: How to use LiveCode
Cc: Richard Gaskin
Subject: Feature proposal: mobileActualAllowedOrientations?

I have the orientation on my phone locked to portrait. I'm sure I'm not the
only person in the world who locks their orientation.

LiveCode is the only app on my phone that doesn't respect a locked
orientation, freely jiggling around as I rotate my phone.

I can lock the orientation within my app, but I shouldn't have to.

And if I did, how could I know which orientation a user has locked to?

I can't find anything in the Dictionary that suggests how to resolve this,
so I'm thinking of either of two Bugzilla submissions:

a) mobileActuallAllowedOrientations (or some more graceful name),
    a proposed function which returns the actual orientations the device
    is currently set to allow.

b) Bug report that LC doesn't respect the device's orientation lock.

Which do you folks feel is the better option?

--
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  [hidden email]                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Feature proposal: mobileActualAllowedOrientations?

Matthias Rebbe via use-livecode
In reply to this post by Matthias Rebbe via use-livecode
Richard,

Our iOS app works in both portrait and landscape modes on the iPhone and
iPad. With the device's software-based rotation lock (iOS Control Center)
set to 'on' the app's display is locked in portrait mode and will not switch
to landscape mode if the device (iPhone 6S and 10.5-inch iPad Pro) is
rotated. Using LC 8.1.9 (rc 1) and iOS 11.2.2

Perhaps I am misunderstanding the issue?

Henry

Ascriva Health Informatics
https://www.ascriva.com



--
Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Feature proposal: mobileActualAllowedOrientations?

Matthias Rebbe via use-livecode
In reply to this post by Matthias Rebbe via use-livecode
Thanks, Ralph.  Looks like a bug then - reported:
http://quality.livecode.com/show_bug.cgi?id=20916

--
  Richard Gaskin
  Fourth World Systems


Ralph DiMola wrote:

> Richard,
>
> LC apps in iOS do respect the lock. This an Android only problem.
>
> Ralph DiMola
>
> -----Original Message-----
> I have the orientation on my phone locked to portrait. I'm sure I'm not the
> only person in the world who locks their orientation.
>
> LiveCode is the only app on my phone that doesn't respect a locked
> orientation, freely jiggling around as I rotate my phone.
>
> I can lock the orientation within my app, but I shouldn't have to.
>
> And if I did, how could I know which orientation a user has locked to?
>
> I can't find anything in the Dictionary that suggests how to resolve this,
> so I'm thinking of either of two Bugzilla submissions:
>
> a) mobileActuallAllowedOrientations (or some more graceful name),
>     a proposed function which returns the actual orientations the device
>     is currently set to allow.
>
> b) Bug report that LC doesn't respect the device's orientation lock.
>
> Which do you folks feel is the better option?


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Feature proposal: mobileActualAllowedOrientations?

Matthias Rebbe via use-livecode
Ralph DiMola wrote:
>
> LC apps in iOS do respect the lock. This an Android only problem.

I'm curious, if the app only supports landscape and the phone is locked
to portrait, what does iOS display? On Android you get a tiny
representation that reaches across the width of the phone with large
blank areas above and below.

--
Jacqueline Landman Gay         |     [hidden email]
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Feature proposal: mobileActualAllowedOrientations?

Matthias Rebbe via use-livecode
In reply to this post by Matthias Rebbe via use-livecode
On 1/27/18 3:43 PM, Richard Gaskin via use-livecode wrote:
> Thanks, Ralph.  Looks like a bug then - reported:
> http://quality.livecode.com/show_bug.cgi?id=20916
>

I'd have to think about this. If the alternative is to only have a tiny
misrepresentation of a landscape-only stack, do we want the behavior
changed? How do other apps, like some games, handle this situation?

--
Jacqueline Landman Gay         |     [hidden email]
HyperActive Software           |     http://www.hyperactivesw.com


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Feature proposal: mobileActualAllowedOrientations?

Matthias Rebbe via use-livecode
J. Landman Gay wrote:

 > On 1/27/18 3:43 PM, Richard Gaskin via use-livecode wrote:
 >> Thanks, Ralph.  Looks like a bug then - reported:
 >> http://quality.livecode.com/show_bug.cgi?id=20916
 >>
 >
 > I'd have to think about this. If the alternative is to only have a
 > tiny misrepresentation of a landscape-only stack, do we want the
 > behavior changed?
 >
 > How do other apps, like some games, handle this situation?

Good question.  You can check out some on your phone, but a quick check
here:

- YouTube: respect my preference until I fullscreen a video, then
   the video fills the screen in landscape until I return from
   fullscreen.

- Netflix: respects the locked orientation until playing a video,
   then goes to fullscreen landscape until I stop the video.

- HBO Now: same as Netflix.

- Amazon: always respects locked orientation, unless playing
   video, then acts as Netflix does.

I guess I don't have a lot of apps that are landscape-only.

IIRC I did once have a game on this phone, and it opened full-screen in
landscape regardless of my orientation lock.  Seems reasonable, because
as you say that app experience wouldn't make sense in portrait.

--
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  [hidden email]                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Feature proposal: mobileActualAllowedOrientations?

Matthias Rebbe via use-livecode
In reply to this post by Matthias Rebbe via use-livecode
J. Landman Gay wrote:

    If the alternative is to only have a tiny
    misrepresentation of a landscape-only stack, do we want the behavior
    changed? How do other apps, like some games, handle this situation?

What Ralph said: Android bug… I think the question then becomes  "how do other apps, like some games, handle this situation on Android?" My guess is (to say the obvious) they will render "sideways"  at the time they are opened and regardless of orientation.

Confirmed here with our puzzle on iOS. I just locked my phone to portrait. tapped on the link to open the puzzle and it auto set to full landscape (0,0 at lower left corner) and rendered vertically with the left side of the stack on the bottom of the screen.  And yes, on my pixel, it renders left to right in a "tiny" form.. until you actually turn your phone sideways.

@Richard, I confirmed at bug 20916,

BR




   
   

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Feature proposal: mobileActualAllowedOrientations?

Matthias Rebbe via use-livecode
In reply to this post by Matthias Rebbe via use-livecode
On January 27, 2018 6:18:34 PM Richard Gaskin via use-livecode
<[hidden email]> wrote:

> IIRC I did once have a game on this phone, and it opened full-screen in
> landscape regardless of my orientation lock.  Seems reasonable, because
> as you say that app experience wouldn't make sense in portrait.

That's what I was talking about. In some cases you do want the app to force
an orientation regardless of the user lock. If LC always forces compliance
we'll just have a different problem.

Maybe we need some kind of override property.

--
Jacqueline Landman Gay         |     [hidden email]
HyperActive Software           |     http://www.hyperactivesw.com



_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Feature proposal: mobileActualAllowedOrientations?

Matthias Rebbe via use-livecode
In reply to this post by Matthias Rebbe via use-livecode
All of my apps are iOS only. And virtually all are landscape only. When the iPhone is set to portrait lock, my apps still open as landscape orientation… that’s how they were designed. I wouldn’t want the user to have to take the extra steps to unlock the orientation.

II do have a couple apps that are in portrait orientation only. When the user has the device in landscape, the app still opens as portrait.

be well,
randy
classroomFocusedSoftware
-----

> On Jan 27, 2018, at 5:12 PM, J. Landman Gay via use-livecode <[hidden email]> wrote:
>
> Ralph DiMola wrote:
>>
>> LC apps in iOS do respect the lock. This an Android only problem.
>
> I'm curious, if the app only supports landscape and the phone is locked to portrait, what does iOS display? On Android you get a tiny representation that reaches across the width of the phone with large blank areas above and below.
>
> --
> Jacqueline Landman Gay         |     [hidden email]
> HyperActive Software           |     http://www.hyperactivesw.com
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Feature proposal: mobileActualAllowedOrientations?

Matthias Rebbe via use-livecode
This should be pretty easy... if the app is built to support multiple
orientations the it respects the lock. If it is built to only support one
orientation, it should override the lock. From the thread it seems iOS
already works this way. I don’t think the app should have to do any
checking for this, it should just work.
On Sun, Jan 28, 2018 at 8:12 AM Randy Hengst via use-livecode <
[hidden email]> wrote:

> All of my apps are iOS only. And virtually all are landscape only. When
> the iPhone is set to portrait lock, my apps still open as landscape
> orientation… that’s how they were designed. I wouldn’t want the user to
> have to take the extra steps to unlock the orientation.
>
> II do have a couple apps that are in portrait orientation only. When the
> user has the device in landscape, the app still opens as portrait.
>
> be well,
> randy
> classroomFocusedSoftware
> -----
> > On Jan 27, 2018, at 5:12 PM, J. Landman Gay via use-livecode <
> [hidden email]> wrote:
> >
> > Ralph DiMola wrote:
> >>
> >> LC apps in iOS do respect the lock. This an Android only problem.
> >
> > I'm curious, if the app only supports landscape and the phone is locked
> to portrait, what does iOS display? On Android you get a tiny
> representation that reaches across the width of the phone with large blank
> areas above and below.
> >
> > --
> > Jacqueline Landman Gay         |     [hidden email]
> > HyperActive Software           |     http://www.hyperactivesw.com
> >
> > _______________________________________________
> > use-livecode mailing list
> > [hidden email]
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

RE: Feature proposal: mobileActualAllowedOrientations?

Matthias Rebbe via use-livecode
In reply to this post by Matthias Rebbe via use-livecode
That's what I was think of...

Here's the deal in order to give any UI experience using LCS:

1) We need a property called "overideDeviceOrientationLock" (or whatever you
want to call it).
   a) if true then apps can allow any orientation regardless of the devices
settings.
   B) If false the app is locked into the device's settings.
2) If your app is open and the device is changed to lock into orientation
"A". If the app's "overideDeviceOrientationLock" is false, if the app is not
currently in orientation "A" then the screen is rotated to orientation "A"
and the standard orientationchanged and resizestack messages are sent.
3) If the device is in orientation "A" and the LCS orientations allowed is
set to "B" and either the device is not locked in a specific orientation OR
"overideDeviceOrientationLock" is set to true then screen is rotated to
orientation "B" and the standard orientationchanged and resizestack messages
are sent.
4) Forcing an app to change orientation via LCS(using allowed orientations)
works only iPhones but not for iPads or Android. If your iPhone is in
orientation "A" and LCS changes the allowed orientation is set to "B", the
screen will rotate and the appropriate messages are sent, but like I said
not on iPads or Android.

If we implement #1 and fix #4 and LC uses rules #2 and #3, then all options
are available.


Ralph DiMola
IT Director
Evergreen Information Services
[hidden email]

-----Original Message-----
From: use-livecode [mailto:[hidden email]] On Behalf
Of J. Landman Gay via use-livecode
Sent: Saturday, January 27, 2018 11:14 PM
To: How to use LiveCode
Cc: J. Landman Gay
Subject: Re: Feature proposal: mobileActualAllowedOrientations?

On January 27, 2018 6:18:34 PM Richard Gaskin via use-livecode
<[hidden email]> wrote:

> IIRC I did once have a game on this phone, and it opened full-screen
> in landscape regardless of my orientation lock.  Seems reasonable,
> because as you say that app experience wouldn't make sense in portrait.

That's what I was talking about. In some cases you do want the app to force
an orientation regardless of the user lock. If LC always forces compliance
we'll just have a different problem.

Maybe we need some kind of override property.

--
Jacqueline Landman Gay         |     [hidden email]
HyperActive Software           |     http://www.hyperactivesw.com



_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Feature proposal: mobileActualAllowedOrientations?

Matthias Rebbe via use-livecode
In reply to this post by Matthias Rebbe via use-livecode
My thoughts exactly. So the Android bug is that it doesn't do that.
--
Jacqueline Landman Gay         |     [hidden email]
HyperActive Software           |     http://www.hyperactivesw.com



On January 28, 2018 12:51:30 PM Brian Milby via use-livecode
<[hidden email]> wrote:

> This should be pretty easy... if the app is built to support multiple
> orientations the it respects the lock. If it is built to only support one
> orientation, it should override the lock. From the thread it seems iOS
> already works this way. I don’t think the app should have to do any
> checking for this, it should just work.
> On Sun, Jan 28, 2018 at 8:12 AM Randy Hengst via use-livecode <
> [hidden email]> wrote:
>
>> All of my apps are iOS only. And virtually all are landscape only. When
>> the iPhone is set to portrait lock, my apps still open as landscape
>> orientation… that’s how they were designed. I wouldn’t want the user to
>> have to take the extra steps to unlock the orientation.
>>
>> II do have a couple apps that are in portrait orientation only. When the
>> user has the device in landscape, the app still opens as portrait.
>>
>> be well,
>> randy
>> classroomFocusedSoftware
>> -----
>> > On Jan 27, 2018, at 5:12 PM, J. Landman Gay via use-livecode <
>> [hidden email]> wrote:
>> >
>> > Ralph DiMola wrote:
>> >>
>> >> LC apps in iOS do respect the lock. This an Android only problem.
>> >
>> > I'm curious, if the app only supports landscape and the phone is locked
>> to portrait, what does iOS display? On Android you get a tiny
>> representation that reaches across the width of the phone with large blank
>> areas above and below.
>> >
>> > --
>> > Jacqueline Landman Gay         |     [hidden email]
>> > HyperActive Software           |     http://www.hyperactivesw.com
>> >
>> > _______________________________________________
>> > use-livecode mailing list
>> > [hidden email]
>> > Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> > http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>> _______________________________________________
>> use-livecode mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Feature proposal: mobileActualAllowedOrientations?

Matthias Rebbe via use-livecode
Some of this is already available at least on iPhone. If you set the only
allowed orientation (mobileSetAllowedOrientations) to landscape then the
app will immediately switch regardless of the device lock setting.

I did not see a way to query whether the use has their orientation locked,
but that really shouldn’t matter. If the app requires a different
orientation the it should switch to it just like many video apps do when
showing video.
On Sun, Jan 28, 2018 at 2:17 PM J. Landman Gay via use-livecode <
[hidden email]> wrote:

> My thoughts exactly. So the Android bug is that it doesn't do that.
> --
> Jacqueline Landman Gay         |     [hidden email]
> HyperActive Software           |     http://www.hyperactivesw.com
>
>
>
> On January 28, 2018 12:51:30 PM Brian Milby via use-livecode
> <[hidden email]> wrote:
>
> > This should be pretty easy... if the app is built to support multiple
> > orientations the it respects the lock. If it is built to only support one
> > orientation, it should override the lock. From the thread it seems iOS
> > already works this way. I don’t think the app should have to do any
> > checking for this, it should just work.
> > On Sun, Jan 28, 2018 at 8:12 AM Randy Hengst via use-livecode <
> > [hidden email]> wrote:
> >
> >> All of my apps are iOS only. And virtually all are landscape only. When
> >> the iPhone is set to portrait lock, my apps still open as landscape
> >> orientation… that’s how they were designed. I wouldn’t want the user to
> >> have to take the extra steps to unlock the orientation.
> >>
> >> II do have a couple apps that are in portrait orientation only. When the
> >> user has the device in landscape, the app still opens as portrait.
> >>
> >> be well,
> >> randy
> >> classroomFocusedSoftware
> >> -----
> >> > On Jan 27, 2018, at 5:12 PM, J. Landman Gay via use-livecode <
> >> [hidden email]> wrote:
> >> >
> >> > Ralph DiMola wrote:
> >> >>
> >> >> LC apps in iOS do respect the lock. This an Android only problem.
> >> >
> >> > I'm curious, if the app only supports landscape and the phone is
> locked
> >> to portrait, what does iOS display? On Android you get a tiny
> >> representation that reaches across the width of the phone with large
> blank
> >> areas above and below.
> >> >
> >> > --
> >> > Jacqueline Landman Gay         |     [hidden email]
> >> > HyperActive Software           |     http://www.hyperactivesw.com
> >> >
> >> > _______________________________________________
> >> > use-livecode mailing list
> >> > [hidden email]
> >> > Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >> _______________________________________________
> >> use-livecode mailing list
> >> [hidden email]
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> > _______________________________________________
> > use-livecode mailing list
> > [hidden email]
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>
> _______________________________________________
> use-livecode mailing list
> [hidden email]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Feature proposal: mobileActualAllowedOrientations?

Matthias Rebbe via use-livecode
JLG... are you getting those pillow boxes with mobileSetAllowedOrientations
set to only landscape?
On Sun, Jan 28, 2018 at 3:08 PM Brian Milby <[hidden email]> wrote:

> Some of this is already available at least on iPhone. If you set the only
> allowed orientation (mobileSetAllowedOrientations) to landscape then the
> app will immediately switch regardless of the device lock setting.
>
> I did not see a way to query whether the use has their orientation locked,
> but that really shouldn’t matter. If the app requires a different
> orientation the it should switch to it just like many video apps do when
> showing video.
> On Sun, Jan 28, 2018 at 2:17 PM J. Landman Gay via use-livecode <
> [hidden email]> wrote:
>
>> My thoughts exactly. So the Android bug is that it doesn't do that.
>> --
>> Jacqueline Landman Gay         |     [hidden email]
>> HyperActive Software           |     http://www.hyperactivesw.com
>>
>>
>>
>> On January 28, 2018 12:51:30 PM Brian Milby via use-livecode
>> <[hidden email]> wrote:
>>
>> > This should be pretty easy... if the app is built to support multiple
>> > orientations the it respects the lock. If it is built to only support
>> one
>> > orientation, it should override the lock. From the thread it seems iOS
>> > already works this way. I don’t think the app should have to do any
>> > checking for this, it should just work.
>> > On Sun, Jan 28, 2018 at 8:12 AM Randy Hengst via use-livecode <
>> > [hidden email]> wrote:
>> >
>> >> All of my apps are iOS only. And virtually all are landscape only. When
>> >> the iPhone is set to portrait lock, my apps still open as landscape
>> >> orientation… that’s how they were designed. I wouldn’t want the user to
>> >> have to take the extra steps to unlock the orientation.
>> >>
>> >> II do have a couple apps that are in portrait orientation only. When
>> the
>> >> user has the device in landscape, the app still opens as portrait.
>> >>
>> >> be well,
>> >> randy
>> >> classroomFocusedSoftware
>> >> -----
>> >> > On Jan 27, 2018, at 5:12 PM, J. Landman Gay via use-livecode <
>> >> [hidden email]> wrote:
>> >> >
>> >> > Ralph DiMola wrote:
>> >> >>
>> >> >> LC apps in iOS do respect the lock. This an Android only problem.
>> >> >
>> >> > I'm curious, if the app only supports landscape and the phone is
>> locked
>> >> to portrait, what does iOS display? On Android you get a tiny
>> >> representation that reaches across the width of the phone with large
>> blank
>> >> areas above and below.
>> >> >
>> >> > --
>> >> > Jacqueline Landman Gay         |     [hidden email]
>> >> > HyperActive Software           |     http://www.hyperactivesw.com
>> >> >
>> >> > _______________________________________________
>> >> > use-livecode mailing list
>> >> > [hidden email]
>> >> > Please visit this url to subscribe, unsubscribe and manage your
>> >> subscription preferences:
>> >> > http://lists.runrev.com/mailman/listinfo/use-livecode
>> >>
>> >> _______________________________________________
>> >> use-livecode mailing list
>> >> [hidden email]
>> >> Please visit this url to subscribe, unsubscribe and manage your
>> >> subscription preferences:
>> >> http://lists.runrev.com/mailman/listinfo/use-livecode
>> > _______________________________________________
>> > use-livecode mailing list
>> > [hidden email]
>> > Please visit this url to subscribe, unsubscribe and manage your
>> > subscription preferences:
>> > http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> [hidden email]
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Reply | Threaded
Open this post in threaded view
|

Re: Feature proposal: mobileActualAllowedOrientations?

Matthias Rebbe via use-livecode
In reply to this post by Matthias Rebbe via use-livecode
I was able to run a test in the simulator for an iPad and got the same
results except that I could not lock the orientation (same on iPhone).  If
landscape is the only allowed orientation then it switches immediately even
when the physical orientation does not match.

On Sun, Jan 28, 2018 at 3:08 PM Brian Milby <[hidden email]> wrote:

> Some of this is already available at least on iPhone. If you set the only
> allowed orientation (mobileSetAllowedOrientations) to landscape then the
> app will immediately switch regardless of the device lock setting.
>
> I did not see a way to query whether the use has their orientation locked,
> but that really shouldn’t matter. If the app requires a different
> orientation the it should switch to it just like many video apps do when
> showing video.
_______________________________________________
use-livecode mailing list
[hidden email]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode