#iPhoneOrientations: Portrait, LandscapeLeft, LandscapeRight
My project this attributes.
Now when I change page orientation by rotate my iphone , the page reload again.
How to fixed it?
I don't want the page to reload.
In android and b4a I write this code in manifest and work well...
I think it is normal behaviour, that at the moment the user rotates the phone, the first B4Xpage in pagestack will be shown.
But is it possible to change that behaviour?
At the first page there was a login
and at second page a dashboard.
The third page contains some fields and a editable...
Is it possible to make UltimateWebView work continuously when changing device orientation?
At first glance, it seems that it is impossible, since UltimateWebView cannot be declared in Process_Globals.
It turns out that when you change the orientation, the web page needs to be reloaded?
Hi. I want the user to see the items listed as aligned to the right side (as it's RTL) when they open the combo box item list.
I've tried the following without success:
1. Setting text horizontal alignment to RIGHT in Designer.
2. Different methods in code:
Private CBox As B4XComboBox
Just finishing reading some threads about setting screen orientation, and noticed that some threads were just using numeric values, and others were using constants with the wrong numeric values (e.g. sensorPortrait is 7, not 9).
So I looked up the Android dev docs and compiled this list of...
When my app's activity paused, I needed to find out if it was just a orientation change (as opposed to exiting the app or powering off the display).
My traditional code to detect current orientation had been:
Sub getCurrentOrientation As Int
If Activity.width < Activity.height Then...
I'm still trying to wrap my head around the new and exciting feature B4XPages and I understand it's still not entirely finalized. However, I saw this limitation:
I was wondering if this is a limitation that might disappear once B4XPages evolves, perhaps even in the near future? Or is this a...
Hello, i think i did this sometime ago, but i don't remenber. So, there is a code that don't recreate the activity when the orientation is changed?
I need to do just one activity, not more than this, the solution of create another activty doesn't work to me.
I use this string android:configChanges="orientation|screenSize" in the manifest to save data when I change the orientation of the screen. OK, the information is saved, but the layout view does not adapt to the new orientation, i.e. for example, the portrait view doesn't change to...
So... I locked orientation to portrait because people using my app on phones kept accidentally resetting the activity by rotating the phone. That worked great. UNTIL someone with a FireTV said it looked distorted.
So is the solution for me to change #SupportedOrientations: portrait to...
FIXED! See next post after this one
I've added some landscape variants to my primary layout and now Amazon app store says: "Your APK currently supports no devices. In order to submit your app, this APK must support at least one device."
#Region Project Attributes...
On some smartphone wit API 26 and Android 8, the app close reporting in log this error
Caused by java.lang.IllegalStateException: Only fullscreen opaque activities can request orientation
Is there a way to restore an indexed table to the last state, for example on screen rotation. From what I can tell, it happens on activity_resume, however if activity_create is called, then it overrides it.
Alternatively, is there a way to get the index of the item at the top of the screen in...
For OCR the picture with a text must be prepared in correct orientation (without option\setting of the picture orientation, let it be so). And photo of the max possible resolution.
If to use the intent based camera and get the photo for OCR - it's very different result under Android...