Android Question Forcing Portrait Mode on Android TV / Android Box (B4A)

ykucuk

Well-Known Member
Licensed User
Longtime User
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 ?
 

ykucuk

Well-Known Member
Licensed User
Longtime User
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.
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

teddybear

Well-Known Member
Licensed User
I don't think your Boxes/Sticks support portrait mode. see if there is a rotation screen option in the settings
 
Upvote 0

RJB

Active Member
Licensed User
Longtime User
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
Top