B4A Question [B4XPages] Switching Phone SetScreenOrientation in B4XPages - GabrielM (first post)    Jan 22, 2021 Many thanks Manfred
Thats what I will do, then.
Have a great weekend... B4A Question Phone.SetScreenOrientation(x) - alfcen    Apr 5, 2011 In an attempt to change screen orientation while an activity loads, my phone rebooted itself.
Sub Activity_Create(FirstTime As Boolean)
p.SetScreenOrientation(0)
End Sub
... B4A Question Phone.SetScreenOrientation inconsistent? - doncx (first post)    Jul 4, 2016 Please use code here... tags when posting code.
It probably depends on the device default orientation. You can find it with the code... B4A Question SetScreenOrientation & Layout with larger phone screens - aaronk    Oct 29, 2019 )
Else
phone1.SetScreenOrientation(1)
Activity.LoadLayout("portrait")
Log("... the following?
If GetDeviceLayoutValues.ApproximateScreenSize >= 7 Then
phone1.SetScreenOrientation(0....SetScreenOrientation(1)
Activity.LoadLayout("portrait")
Log("** phone **"...Hi,
In my app I am detecting if the user is using a phone or a tablet and then showing a different... B4A Question [SOLVED] Phone library :: SetScreenOrientation - antofer (first post)    Mar 17, 2015 this version I did not appear in the search results
looking to download... B4A Question CameraExClass and orientation - Surreal (first post)    Apr 8, 2025 Good morning
Why if phone.SetScreenOrientation(0) the preview image is distorted?
Is there a way to prevent this from happening?
Thanks... B4A Question Error while orientation is changed - Erel (first post)    Dec 16, 2024 Try to lock the orientation with Phone.SetScreenOrientation in Activity_Create. I don't know what is "RunActivity" but if it is a second activity then you are probably doing something wrong.... B4A Question How to freeze the orientation of an Activity - Reflection? - Gary Milne    Mar 23, 2015 I have an app that mostly uses Landscape but has one Portrait activity. I need to be able to set and freeze the orientation on a per activity basis. I've tried Phone.SetScreenOrientation as described here but that does not lock the orientation and it still changes on a device rotation. There is a thread that describes how to do this (how to lock orientation during runtime) and it seems like it would be a fit for Reflection but I don't have a good handle on Reflection semantics... B4A Question Newbie Question : How can I change the phone settings? - Sam Koh    Jul 25, 2023 I realized that the following settings will be gone once I quit the App. Is there a way to keep these phone settings permanently until I next change them? Dim myPhone As Phone myPhone.SetScreenOrientation (0) myPhone.SetVolume (myPhone.VOLUME_SYSTEM,15,True) myPhone.SetScreenBrightness (-1)... B4A Question How is the phone held? - grafsoft    Jan 24, 2016 I need to set the screeen orientation with phone.setscreenorientation But I want to know how the phone is held, i.e. what the screen orientation (portrait, landscepe ...) would be if I did not set the screen orientation. I hope it is understandable what I am writing.... Page: 1   2   3   4   5   6   7   |