Skip to main content
This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

globzie
Participating Frequently
Mar 8, 2016 12:02 PM UTC

hello,

we are trying to do the same (launch an app in portrait mode) now on Windows 10.

Anyone figured a way to do this? We had something working on Windows 10 via a Native Process but it does not work when the device is in tablet mode.

Found about the topic:

• Supporting screen orientation (DirectX and C++)

• https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/DisplayOrientation

Thanks!

Translate
globzie
Participating Frequently
Mar 10, 2016 5:31 PM UTC

Hello,

The issue was that our rotation.exe script was not signed so it did not work.

I think I found a partial solution. Use this (signed) display.exe via a Native Process.

However in the case of a portable device that has "Auto rotate" turned on the orientation goes back to landscape if the user holds the device in landscape mode. But you can detect it inside the AIR app. See what happens in that video.

Then you can display an image asking the user to rotate the device back to portrait.

sValK.png

Translate