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/
Exactly / 100%.
Now, if Android had created a system where the pause / resume BS was not a mandatory part of the architecture, then rotation would not be an issue...
I just started using B4XPages now, because of a new app being developed. Erel strongly suggests that B4XPages be used going forward. I tend believe and respect his guidance because the man knows a little more than I about dev (ok,
10,000 times more than I will ever hope know!). He creates "super things" that we mere mortals could not possibly conceive - for our benefit. In this case of B4XPages, if he chose NOT to deal with pause / resume - the more power to him! Furthermore - NOW I don't have to deal with it either!!! Since there is a
valid solution to support both Port / Land, I couldn't be happier. In my case, the devices are fixed mounted in vehicles - so rotation is not an issue (thank Christ).
However, we are all free to dev as we want, using whatever, for our own personal requirements.