Y ykucuk Well-Known Member Licensed User Longtime User Mar 5, 2025 #1 Hello everyone, I'm developing a B4A application that needs to run in portrait mode on an Android TV / Android Box. However, despite using the usual methods, the device remains in landscape mode and does not rotate. Any help ?
Hello everyone, I'm developing a B4A application that needs to run in portrait mode on an Android TV / Android Box. However, despite using the usual methods, the device remains in landscape mode and does not rotate. Any help ?
Erel B4X founder Staff member Licensed User Longtime User Mar 5, 2025 #2 What happens if you run it on a phone? I guess that you are setting the orientation with #SupportedOrientations: portrait Note that it can be overridden by the manifest editor. Upvote 0
What happens if you run it on a phone? I guess that you are setting the orientation with #SupportedOrientations: portrait Note that it can be overridden by the manifest editor.
Y ykucuk Well-Known Member Licensed User Longtime User Mar 5, 2025 #3 Erel said: What happens if you run it on a phone? I guess that you are setting the orientation with #SupportedOrientations: portrait Note that it can be overridden by the manifest editor. Click to expand... It works flawlessly on phones and tablets, and I can set the desired orientation through code. However, I'm experiencing issues with Android TV Boxes and Android TV Sticks—no matter what I do, the device (Android) does not switch to portrait mode. Upvote 0
Erel said: What happens if you run it on a phone? I guess that you are setting the orientation with #SupportedOrientations: portrait Note that it can be overridden by the manifest editor. Click to expand... It works flawlessly on phones and tablets, and I can set the desired orientation through code. However, I'm experiencing issues with Android TV Boxes and Android TV Sticks—no matter what I do, the device (Android) does not switch to portrait mode.
teddybear Well-Known Member Licensed User Mar 5, 2025 #4 I don't think your Boxes/Sticks support portrait mode. see if there is a rotation screen option in the settings Upvote 0
I don't think your Boxes/Sticks support portrait mode. see if there is a rotation screen option in the settings
R RJB Active Member Licensed User Longtime User Mar 9, 2025 #5 All of the ones I have support rotation - but there is usually a set up option that has to be set to allow it. Note: the applications I use with the boxes are pre-B4X pages Upvote 0
All of the ones I have support rotation - but there is usually a set up option that has to be set to allow it. Note: the applications I use with the boxes are pre-B4X pages