Android Question How to stop page rotation?

Yves Mazzon

Member
Licensed User
Longtime User
In my application I would like to stop the page rotating even if the device is set for rotation. What command shall I add to achieve this. Many thanks.
Yves
 

Anser

Well-Known Member
Licensed User
Longtime User
B4X:
#Region  Project Attributes
    #ApplicationLabel: AppLabel
    #VersionCode: 1
    #VersionName: 1.00
    'SupportedOrientations possible values: unspecified, landscape or portrait.
    #SupportedOrientations: portrait
    #CanInstallToExternalStorage: False
#End Region

Look at the SupportedOrientations
 
Upvote 0

Yves Mazzon

Member
Licensed User
Longtime User
B4X:
#Region  Project Attributes
    #ApplicationLabel: AppLabel
    #VersionCode: 1
    #VersionName: 1.00
    'SupportedOrientations possible values: unspecified, landscape or portrait.
    #SupportedOrientations: portrait
    #CanInstallToExternalStorage: False
#End Region

Look at the SupportedOrientations
Many thanks Anser
 
Upvote 0
Top