The solution I cited is 3 years old and is precisely designed to put the orientation in the user's control.
I have used this method for all that time without any problem. It feels natural to me as a user that once the app starts in the orientation I start it with,
it continues in that orientation. Any rotational movements of my hand makes that obvious. If I start the app it in a different orientation next time it stays in the new orientation.
In situations where I want to show a landscape video inside a portrait oriented B4XPages app, I simply start start a new activity for that subtask.
https://www.b4x.com/android/forum/t...ow-device-is-held-when-app-is-started.134764/