Highlighted

change screen orientation - desktop, Windows 8

New Here ,
Oct 24, 2014

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!

TOPICS
Development

Views

645

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

change screen orientation - desktop, Windows 8

New Here ,
Oct 24, 2014

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!

TOPICS
Development

Views

646

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 24, 2014 0
Explorer ,
Mar 08, 2016

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!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 08, 2016 0
globzie LATEST
Explorer ,
Mar 10, 2016

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.

sValK.png

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Mar 10, 2016 0