orientation

  1. J

    iOS Question Lock current orientation

    Is there any way to lock current device orientation? I have not been able to find a solution in the forums thus far.
  2. M

    iOS Question Will be reloaded page when orientation change.

    Hi, #iPhoneOrientations: Portrait, LandscapeLeft, LandscapeRight My project this attributes. Now when I change page orientation by rotate my iphone , the page reload again. Why? 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...
  3. MarcRB

    Android Question Changing orientation causes B4Xpages go back to first page.

    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...
  4. A

    Android Question UltimateWebView behavior when changing device orientation

    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? It would...
  5. MegatenFreak

    Android Question [SOLVED] [B4XComboBox] How to align displayed items to the right?

    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 '1: (app...
  6. Dave O

    Android Code Snippet screen orientation - constant values

    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...
  7. Dave O

    Android Code Snippet detecting screen orientation - current vs. new

    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...
  8. Sandman

    Android Question [B4X] B4XPages - Locked orientation limitation

    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...
  9. Lucas Eduardo

    Android Question Don't re-create activity when change the orientation

    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. Thanks :D
  10. behnam_tr

    B4J Question how change form title Orientation???

    hey guys how can I change form title Orientation???
  11. P

    Android Question Incorrect layout view when changing screen orientation

    Hello experts! 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...
  12. Scotter

    Android Question Change orientation lock based on device?

    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...
  13. Scotter

    Android Question Amazon store: no devices supported by this APK

    FIXED! See next post after this one Hi - 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 #Region Project Attributes...
  14. wizard699

    Android Question Error Orientation with ANDROID 8 Api 26

    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 android.app.Activity.onCreate (Activity.java:1038) in.raguso.educom.main.onCreate (main.java:33)...
  15. Rob Bliss

    Android Question Restore Indexed Table

    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...
  16. peacemaker

    Android Question Intent based camera in Android 4.x and 7.x for OCR

    HI, All 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...
Top