This is for advanced users only. Please see Erel's important cautions about using this approach below. This post and examples demonstrate how to extend B4XPages to allow orientation changes. It should be considered a beta version, since you may encounter some problem that I haven't yet...
www.b4x.com