In an attempt to change screen orientation while an activity loads, my phone rebooted itself.
Is it reasonable to assume that p.SetScreenOrientation(x) must not be placed inside Activity_Create, Activity_Resume and Activity_Pause?
Inside Activity_Click the screen rotates as expected.
B4X:
Sub Activity_Create(FirstTime As Boolean)
p.SetScreenOrientation(0)
End Sub
Is it reasonable to assume that p.SetScreenOrientation(x) must not be placed inside Activity_Create, Activity_Resume and Activity_Pause?
Inside Activity_Click the screen rotates as expected.