I developed an App which is now 8 years old, and it mainly uses portrait mode but has a landscape layout that shows some unique stuff. This has worked fine on about 8 android phones, 2 tablets. It uses the "get layout values" to determine the orientation which layout to load and I've had no issues up till now.
I now have an android watch with an oblong screen which defaults to landscape mode for it's display, although an app with portrait only runs in portrait OK. When I load the App in question, it runs in landscape only. It does not switch when I rotate the watch, and when I tried hacking the code to make it start in Portrait with the landscape code commented out, it loaded in portrait for a second then rotated the screen and went blank. So there's something in the device forcing it to revert to landscape, is my thinking.
The watch does know it's orientation because one of the Apps features is to display an arrow pointing to the Sun when horizontal and vertical. I am next going to try and use the orientation instead of layout values to load.
I now have an android watch with an oblong screen which defaults to landscape mode for it's display, although an app with portrait only runs in portrait OK. When I load the App in question, it runs in landscape only. It does not switch when I rotate the watch, and when I tried hacking the code to make it start in Portrait with the landscape code commented out, it loaded in portrait for a second then rotated the screen and went blank. So there's something in the device forcing it to revert to landscape, is my thinking.
The watch does know it's orientation because one of the Apps features is to display an arrow pointing to the Sun when horizontal and vertical. I am next going to try and use the orientation instead of layout values to load.