Copy link to clipboard
Copied
I'm creating desktop AIR application (Windows 8, AIR 15) for interactive table.
Is it possible to change screen orientation with stage.setOrientation()?
Using screen orientation APIs for smartphone application development | Adobe Developer Connection
It's not working here. Any workaround?
Thank you!
Copy link to clipboard
Copied
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!
Copy link to clipboard
Copied
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.